One of our multi-language sites has an issue accepting external links in only one language.
An external link to any French page on the site displays a 404 error page with a base href including an Italian language code and a German document title.
Additionally, when you are viewing the French version of the site and click the French flag in the language selector, the site displays the same error page with an Italian language code and a German document title.
None of the other 10 languages installed on the site do this.
In trying to track down the issue, we've noticed that the base href shifts when any language flag is clicked while viewing the site in that language.
For instance, site.com/nl/home-dut.html is displayed when first clicking on the Dutch language flag. A second click on the Dutch flag and the base href changes to site.com/nl/. Additional clicks do not change the base href but clicking on any other flag starts the cycle again.
Except for French which displays the error page on the second click and sends you to a 404 error page with an Italian language code and a German page in the base href.
We could live with the double-click flag issue except for the issue with external links to French pages on this site creating 404 errors.
I've turned off Enable URL optimization in sh404SEF and the issue disappears. But all of our links change. We have many links from external sites pointing to our content so not running sh404SEF is not an option.
I've installed the latest version of sh404SEF, purged SEF urls several times, matched all configuration screens between this site and a similar multi-language site that does not shift base href, purged SEF urls again - no joy.
I've checked the menus and pages through KMFasTrans (also used on all our sites) and everything looks perfect. All other languages on this site accept external links with no issue except for French.
I've cleared cache on the site and in my browser after every few rounds of changes. No joy.
Hopefully this is an issue that's been resolved and you can point me in the right direction.
Thanks!
-a-
An external link to any French page on the site displays a 404 error page with a base href including an Italian language code and a German document title.
Additionally, when you are viewing the French version of the site and click the French flag in the language selector, the site displays the same error page with an Italian language code and a German document title.
None of the other 10 languages installed on the site do this.
In trying to track down the issue, we've noticed that the base href shifts when any language flag is clicked while viewing the site in that language.
For instance, site.com/nl/home-dut.html is displayed when first clicking on the Dutch language flag. A second click on the Dutch flag and the base href changes to site.com/nl/. Additional clicks do not change the base href but clicking on any other flag starts the cycle again.
Except for French which displays the error page on the second click and sends you to a 404 error page with an Italian language code and a German page in the base href.
We could live with the double-click flag issue except for the issue with external links to French pages on this site creating 404 errors.
I've turned off Enable URL optimization in sh404SEF and the issue disappears. But all of our links change. We have many links from external sites pointing to our content so not running sh404SEF is not an option.
I've installed the latest version of sh404SEF, purged SEF urls several times, matched all configuration screens between this site and a similar multi-language site that does not shift base href, purged SEF urls again - no joy.
I've checked the menus and pages through KMFasTrans (also used on all our sites) and everything looks perfect. All other languages on this site accept external links with no issue except for French.
I've cleared cache on the site and in my browser after every few rounds of changes. No joy.
Hopefully this is an issue that's been resolved and you can point me in the right direction.
Thanks!
-a-