Monday, February 7, 2022

gatsby - stop rewriting URLs

 So at work we have URS like monster.ca/fr/partagez-cv/ - this gets translated to "upload-resume" by the time it hits our Gatsby instance (the Gatsby only has pathing for the English URL) and Gatsby was rewriting the URL so that it put up the english version of the URL - bad UX and bad SEO.

gatsby-plugin-static-site seemed to fix the issue for us, and I guess we're using reverse proxy for routing, outside the Gatsby instance.

No comments:

Post a Comment