Hi! I have a gatsby site. I want to make it so any url with relative path /share/* goes to the page defined at /share. I want the url to be preserved in the user’s address bar.
E.g. if I go to mysite.com/share/alex, I want the page at mysite.com/share to be served - but I want the address browser to still have the url mysite.com/share/alex.
I though this redirect rule in _redirects file should do it:
/share/* /share 200
But it doesn’t work - it just does a normal redirect to /share, and anything after the final slash is lost.
Thanks!
My site url (on a branch deploy to test this out):