This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to redirect all pages, products, and other content from a deleted language (e.g., /deletedlanguage/) to the default language homepage.
Solution:
We recommended using the Redirection plugin (https://wpml.org/plugin/redirection/) or adding the following code to the .htaccess file:
RewriteEngine On<br />RewriteRule ^deletedlanguage/(.*)$ / [R=301,L]
*The "deletedlanguage" should be replaced with the actual language prefix that was deleted.
*We also advised the client to ensure they have a full backup of their website before making any changes to the .htaccess file.
If you're experiencing a similar issue, we recommend trying the above solution. However, please note that this solution might be outdated or not applicable to your case. If it doesn't resolve your issue, we highly recommend checking related known issues (https://wpml.org/known-issues/), verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please don't hesitate to open a new support ticket with us.
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.
This topic contains 2 replies, has 2 voices.
Last updated by 9 months, 3 weeks ago.
Assisted by: Marsel Nikolli.