gatsbyjs / themes

This is a repo for Gatsby's official themes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-theme-i18n and adding a Path Prefix to gatsby-config file not working

jasonair opened this issue · comments

The theme seems to remove the pathPrefix added in the gatsby-config file. I have a site on a domain subfolder, and without the gatsby-theme-i18n, it works fine. As soon as I add the theme, whatever I had for the prefix gets replaced with the language prefixes e.g. "/" for default language, or "/de", "/en".

Is there a way around this at all? Thanks in advance.

Hi!

Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it.

If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look.

Thanks for using Gatsby! 💜