0

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 é

Community
  • 1
  • 1
Miuranga
  • 2,463
  • 10
  • 51
  • 81

2 Answers2

2

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.

Alex W
  • 37,233
  • 13
  • 109
  • 109
1

This works probably fine

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

What is your problem? Can you post some more details

donald123
  • 5,638
  • 3
  • 26
  • 23
  • >>not working rule contain special character<< what is not working? get you an internal server error or does your browser don't understand the special character? please post your .htaccess rules for more understanding – donald123 Jul 24 '12 at 13:58