A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Have you tried setting the language in episerverframework.config?
add name="site.com" language="en"
If you browse to site.com it shouldn't display the en postfix.
I added this, but I still have the same problem. It only happens on some pages. I've run the "Rebuild Web Addresses" job, but it didn't help.
So it shows /en/ on links to those pages? Does every page on that list contain /en/ or just a few?
Jeff helped me fix it -- I still had Swedish enabled. If you have more than one language enabled, EPiServer tries to put that prefix in there. Once I disabled Swedish, it works fine.
This still doesn't explain some of the inconsistency of it -- it was only on some pages, and not others. But, it's fixed nonetheless.
Yeah I have no idea why changing the EPiServerFramework.config didn't fix the issue completely. None-the-less, nice to hear you fixed it :)
I have a v6 R1 installation that is really, really reluctant to give up the "/en/" in the URLs. It was set in error, during development, and now the client wants them out of the URLs. The setting has been made in episerver.config -- I've confirmed that uiShowGlobalizationUserInterface is false.
However, URLs keep getting rendered with the "/en/" in them. I've rebuilt the Web addresses from Admin Mode too -- doesn't matter. It just won't give up this language prefix.