: How can I create a 301 redirect with non-English characters in the URL? I would like to do 301 redirect from http://www.test.de/kollektion/b%C3%BCgel%20bh to http://www.test.de/bhs/bugel-bhs+balconette.
I would like to do 301 redirect from www.test.de/kollektion/b%C3%BCgel%20bh to www.test.de/bhs/bugel-bhs+balconette.
I tried to create a redirection rule, but it's not working even though I converted %C3%BCgel%20bh into ASCII code.
More posts by @Shelton105
1 Comments
Sorted by latest first Latest Oldest Best
To get this to work you will need to use the correct characters rather then the URL encoded characters.
Try adding the following in apache configuration file (apache2.conf/httpd.conf/apache.conf dependent on your distro)
AddDefaultCharset UTF-8
After restart apache using:
sudo service httpd restart
or
sudo service apache2 restart
Then in your htaccess file try the following:
Options +FollowSymLinks
Redirect 301 www.test.de/kollektion/bügel[s]bh www.test.de/bhs/bugel-bhs+balconette
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.