Question

The URLs with special characters such as é, ü do not redirect correctly.

For example : Redirect 301 /de/pages/schuhe_mit_schmaler_füßbreite http://www.mydomain.com/de/schuhe-für-schmale-füße/l/

I already tried using the suggestions in this stack post, but it does not work for me.

working rule : Redirect 301 /de/pages/duo_latest http://www.mydomain.com/de/entdecken-sie-duo/neues/

not working rule : Redirect 301 /fr/pages/duo_latest http://www.mydomain.com/fr/découvrez-duo/nouvelles/

not working rule contain special character é

Was it helpful?

Solution

Make sure that the text editor you are using to save to your .htaccess file supports UTF-8 encoding. If you are using Notepad, configure the settings so that it is not saving as ANSI.

If you cannot get it to save to UTF-8, create a completely new .htaccess file that is saved in UTF-8 and replace the old file with the new one.

OTHER TIPS

This works probably fine

 RewriteRule ^türen/(.*) http://google.de?$1 [L]

What is your problem? Can you post some more details

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top