Home›Support›English Support›[Waiting for user confirmation] I need help because after installing and using WPML, the number of errors on my site has been increa...
[Waiting for user confirmation] I need help because after installing and using WPML, the number of errors on my site has been increa...
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to build and manage a multilingual travel and culture blog using WPML. The site I need help with is hidden link. I have checked the official WPML documentation, but I could not find any explanation for these errors.
Symptoms:
After installing and using WPML, the number of errors on my site has been increasing. Every time I publish a new blog post, new errors appear, including 404 errors, redirect errors, and duplicate/canonical issues.
Questions:
What is causing the increase in errors after publishing new content?
How can I fix the 404 errors, redirect errors, and duplicate/canonical issues?
Hello, thank you for your guidance so far. Unfortunately, the issues on my site are still not resolved, and the errors continue to increase. I would greatly appreciate if this case could be escalated to a support engineer for direct assistance. The problems are complex and very specific to my setup, so I believe a human specialist would be best able to help me.
I have tried several approaches, but unfortunately I haven’t been able to resolve the issue. At the moment, I am using custom rules in the .htaccess file to try to avoid the errors, and I am monitoring the situation. However, this feels more like a temporary workaround than a fundamental solution.
To answer your questions:
The errors (404 pages, redirect loops, and duplicate/canonical issues) mainly appear right after I publish new blog posts.
If I temporarily disable WPML, these errors do not appear. This makes me think they are directly related to WPML’s multilingual handling.
For now, I am relying on .htaccess adjustments, but I would prefer a proper fix within WPML or configuration guidance.
Here is the current version of my .htaccess file, which I am using to manage redirects, canonicalization, and indexing issues. At the moment, it helps reduce errors in Google Search Console, but I am not sure if any of these rules might conflict with WPML’s multilingual functionality.
Could you please review the code and let me know if there are any parts that could cause problems with WPML (redirects, language handling, or canonical issues)?
# --- 5) Targeted 410 (remove unwanted URLs) ---
# Variants ending with -jp
RewriteRule .*-jp/?$ - [G,END]
# Japanese percent-encoded characters mixed under multilingual (e.g. %E3-%E9) + common spam encoding
RewriteRule ^(?:fr|de|it|es)/(.*%E3%.*|.*%E4%.*|.*%E5%.*|.*%E6%.*|.*%E7%.*|.*%E8%.*|.*%E9%.*|.*%20.*|.*%2F.*)$ - [G,NC,END]
</IfModule>
# --- 6) noindex (search/reply/preview/feed/tracking QS) ---
<IfModule mod_headers.c>
# HSTS (⚠ Be careful with duplication if also set in Cloudflare, etc.)
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
# Login must be noindex
<FilesMatch "^wp-login\.php$">
Header set X-Robots-Tag "noindex, nofollow, noarchive, nosnippet"
</FilesMatch>
# Add X-Robots-Tag based on environment variable
Header set X-Robots-Tag "noindex, nofollow" env=do_noindex
Header set X-Robots-Tag "noindex, follow" env=do_noindex_feed
</IfModule>
Thank you for contacting the support. I'm assigned this ticket and 'll try my best to help you on the matter.
First of all, please note that your .htaccess file contains a lot of stuff probably from several plugins managing redirections and the related stuff. This may cause conflicts.
So before proceeding further, can you please try the following?
Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.
1) Enable debugging in your site. See https://wpml.org/documentation/support/debugging-wpml/ for details. Once enabled, this will log the errors in the debug.log file which you can upload somewhere (i.e. hidden link) and share the download link for investigation.
2) Deactivate all plugins except WPML and String Translation.
3) Switch to a standard theme like 2024 or 2021.
4) Rename your .htaccess file to something else (i.e. 1.htaccess). Then go to WordPress Dashboard -> Permalinks -> save without making any change. So it generates default WordPress .htaccess.
5) Check for the issue if it still happens.
6) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
7) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.
Please let me know your findings and I'll try my best to help you further.
Hello WPML Support,
I have carefully followed all the troubleshooting steps you provided.
Here is a detailed report of what has been done and the current results:
1. Language URL Format
Checked at WPML > Languages > Language URL format.
Confirmed setting: “Different languages in directories” is active.
Default language (English) shows without directory (/blog/…).
“Hide URL language information for default language” is ON.
✅ Confirmed correct.
2. Browser Language Redirect
Verified at WPML > Languages > Browser language redirect.
Set to Off to avoid SEO conflicts.
✅ Confirmed Off.
3. Menu Synchronization
Ran synchronization via WPML > WP Menus Sync.
No pending changes were found.
Applied sync to confirm — all menus are aligned across languages.
✅ Completed.
4. Slug & Taxonomy Translation
Checked WPML > Taxonomy translation.
All category and tag slugs have translations filled in.
Verified at WPML > Settings > Post Types & Taxonomies Translation → posts, categories, tags are set to Translatable.
✅ Completed.
5. String Translation (Theme/Plugins)
Performed scan with +Domain selection → Scan theme/plugins for strings.
Detected strings were reviewed.
Important UI strings (Rank Math labels, Contact Form messages, button texts) are translated and consistent.
✅ Completed.
6. Hreflang for Key Pages
Verified Home, Blog, About, Contact pages in all languages.
Each page shows the correct translation link status (pencil icon).
Cross-linking confirmed: e.g. English Home ↔ French Accueil ↔ German Startseite, etc.
✅ Completed.
7. Sitemap & Indexing
Checked Rank Math > Sitemap settings.
Posts, Pages, and Categories in all languages appear correctly in the sitemap.
/hi/ staging directory is set to noindex and excluded from sitemap.
Submitted sitemap in GSC → no errors reported, status 200 OK for all language URLs.
✅ Completed.
8. Cache / CDN
Cleared WordPress cache, server cache, and Cloudflare cache after updates.
Tested representative URLs on httpstatus.io → all returned 200 OK with zero redirects.
✅ Completed.
9. Theme Test / Restore
Confirmed production theme is active.
Meta tags and hreflang remain correct.
✅ Completed.
10. Forms Testing
Tested Contact forms in all languages (CF7).
Submissions successful, messages correctly localized (EN, FR, DE, IT, JA, ES).
reCAPTCHA site/secret keys are consistent with production environment.
✅ Completed.
✅ Final Result
All WPML troubleshooting steps have been completed successfully.
At present:
URLs in all languages return 200 OK.
Hreflang tags are consistent.
Sitemaps are correct and indexed.
No remaining issues found.
Additional Note for Support:
We will now monitor Google Search Console for the next few days to confirm that index coverage remains stable and that no new issues appear.