Skip Navigation

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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.

This topic contains 2 replies, has 1 voice.

Last updated by Andreas W. 4 days, 6 hours ago.

Author Posts
April 10, 2025 at 3:19 pm #16919416

steveS-5

Background of the issue:
I've removed several languages from my site hidden link and added a 301 redirect for all their pages in the htaccess file. I also added 301 redirects for pages from languages that were maintained on the site to their new page name without a .html extension. The latter redirects work fine.

Symptoms:
The 301 redirects for the removed languages are not working properly.

Questions:
Why are the 301 redirects for the removed languages not working?
Is there a specific configuration needed in the htaccess file for removed languages?
Could a plugin help resolve the redirect issue for removed languages?

April 10, 2025 at 3:20 pm #16919497

steveS-5

Example of a 301 redirect that will not work:

Redirect 301 /sv/tillbehor.html hidden link

April 12, 2025 at 9:28 pm #16925768

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The Permalinks in WordPress never use ".html" which might be the reason for the redirects not working as expected.

For example:
If the page was called Tillbehor then its permalink must have been hidden link

You will need to create a redirect from
hidden link
to
hidden link

Also, take kindly note, that this is not a WPML-related topic and is more a general request about Web Development and WordPress.

Best regards
Andreas