On this page
What this issue is
A language switcher is the menu or flag that lets a visitor change the site language. On many sites each option links to the same page in another language, for example /en/pricing/ to /de/preise/. If that translated address does not exist, the server answers with a 404 (page not found) error.
It usually affects only some pages. The homepage switches fine, but a product, blog post or landing page has no translation or a different slug, so the link points at nothing.
Why it costs you leads or sales
A visitor who clicks the switcher is telling you they prefer another language. If they land on an error page, many leave rather than start over. You lose them on the exact page where they were closest to acting, such as a pricing page, a form or a product.
It also hurts trust. A broken switcher suggests the translated site is unfinished or unmaintained. Because the failure appears only on certain pages, it often goes unnoticed for weeks.
- Landing pageVisitor arrives in the default language
- Click language switcherLink points to a translated URL
- 404 pageTranslated URL does not exist
- Form or checkoutNever reached
The switcher click leads to an error page, so the rest of the funnel is never reached.
How to check if your site has it
Test from key pages
Open your homepage, top landing pages, a product page, a blog post and the contact page. On each, click every language in the switcher.
Note the status
Open browser DevTools (F12), go to the Network tab, click the switcher and look at the status of the first request. A 404 confirms the problem.
Test logged out and on mobile
Use a private window and a phone. Some themes use a different switcher on mobile, and some links work only when you are logged in as an admin.
Crawl the site
Run a link crawler such as Screaming Frog or a broken link checker and filter for 404 responses whose source is the switcher markup.
How to fix it
The right fix depends on why the link is dead. Work out which cause applies, then use your platform's steps.
| Cause | Fix |
|---|---|
| Page not translated | Translate it, or make the switcher fall back to the translated homepage |
| Slug changed or page deleted | Update the link and add a 301 redirect from the old URL |
| Permalinks or routing not refreshed | Re-save permalinks or republish the site |
| Hard-coded switcher links | Replace them with the platform's dynamic switcher |
Refresh permalinks
Go to Settings > Permalinks and click Save Changes without altering anything. This rebuilds rewrite rules, which often fixes translated URLs that 404.
Check the translation plugin
In WPML, Polylang or TranslatePress, open the page list and look for pages missing a translation. Translate them or set the switcher to link to the homepage when no translation exists (WPML: Languages > Languages > Language switcher options, Link to home / Skip language).
Redirect renamed slugs
If you changed a slug, add a 301 redirect from the old URL using a redirect plugin or your server config.
Check market languages
In Settings > Markets and Settings > Languages, make sure each language is published for the market you serve.
Translate the missing content
Use Shopify's Translate & Adapt app or your translation app to translate products, collections and pages. Untranslated or unpublished resources can produce broken links.
Add redirects
In Content > Menus > URL Redirects (or Online Store > Navigation > URL Redirects, depending on your admin version), redirect old paths to the current ones.
Check locale pages
In Localization settings, confirm the page is published for each locale and not excluded from it.
Fix the switcher links
If you built a custom switcher, replace manual links with the Locales list element so each link follows the current page.
Republish
Publish the site to all locales after changes.
Open Wix Multilingual
Check that each page is translated and visible in every language.
Review slugs
Edit translated page URLs in the page's SEO settings, then add a redirect in Marketing & SEO > SEO Tools > URL Redirect Manager for old addresses.
Build links from a map
Keep a map of each page to its translations and generate switcher links from it. If a translation is missing, link to that language's homepage.
Redirect old paths
Add 301 redirects for renamed URLs in your server config.
const translations = {
'/en/pricing/': { de: '/de/preise/', fr: '/fr/tarifs/' }
};
function switchUrl(path, lang) {
const target = translations[path] && translations[path][lang];
return target || '/' + lang + '/';
}location = /de/preis/ {
return 301 /de/preise/;
}Before
- Switcher links to /de/preise/ that does not exist
- Visitor sees a 404 page
- They leave the site
After
- Link points to a real translated page
- Missing translations fall back to the language homepage
- Visitor keeps browsing in their language
How to confirm it's fixed
- Every language option returns a 200 page from your top 10 pages
- No switcher link returns 404 in a fresh crawl
- Old translated URLs return a 301 to the new page
- Switcher works logged out, on mobile and in a private window
- The destination page is in the chosen language
How to prevent it happening again
- Add a translation check to your publishing process for new pages
- Always add a 301 redirect when you change or delete a slug
- Use the platform's dynamic switcher, not hand-typed links
- Re-save permalinks or republish after plugin, theme or locale changes
- Crawl your site for 404s on a schedule
How FunnelGuard handles this
FunnelGuard detects this today through its broken links check (no_broken_links). A robot visitor loads the pages in your journeys on a schedule and flags links that lead to error pages, which includes a language switcher link that returns a 404. It covers the pages and journeys you set up, so it is not a full crawl of every URL on your site.
If a failure appears, FunnelGuard re-checks it from a second region first, then sends one alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty with a screenshot and a likely cause. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.
Questions people ask
Why does my language switcher go to a 404 page?
The switcher links to a translated URL that does not exist. Common reasons are a page with no translation, a changed or deleted slug, or permalinks that were not refreshed after a plugin or theme update.
How do I fix a WPML or Polylang language switcher 404?
First go to Settings > Permalinks and click Save Changes to rebuild rewrite rules. Then check for pages missing a translation and either translate them or set the switcher to link to the homepage when no translation exists.
Should the language switcher link to the same page or the homepage?
Link to the same page in the other language when a translation exists. When it does not, fall back to the translated homepage or hide that language option, so visitors never reach an error.
Does a 404 from the language switcher hurt SEO?
Broken internal links waste crawl effort and give users a poor experience. Fixing them and adding 301 redirects for renamed pages is good practice, though I cannot promise a ranking change.
How can I find all broken language switcher links?
Crawl your site with a link checker and filter for 404 responses, then click the switcher by hand on your key pages. A scheduled monitor such as FunnelGuard can also check pages in your journeys regularly.
Why does the language switcher work on the homepage but not on other pages?
The homepage nearly always has a translation, while inner pages may not, or may use a different slug. The switcher builds the link from the current page, so it breaks only where the translated page is missing.
Can FunnelGuard detect a language switcher that goes to 404?
Yes. Its broken links check flags links on the pages in your journeys that return error pages, including switcher links. It covers the journeys you configure, not every URL on the site.
Related issues
- CNV-337Language switch loses cart or form dataFix guide
- CNV-338Translated page has untranslated form or errorsFix guide
- CNV-339Geo-redirect sends visitors to wrong country siteFix guide
- CNV-344hreflang points to wrong pageFix guide
- CNV-340Geo-redirect loopFix guide
- CNV-341Currency switcher doesn't change pricesFix guide