Forum Moderators: phranque

Message Too Old, No Replies

URL encoded characters

redirect with percent or not

         

smallcompany

6:37 am on Feb 3, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I just had a case where %E2%80%8B was part of URL causing 404. I "translated" it and got ​ which I used in htaccess to redirect to correct page and had no trouble.

I just wonder about the right 301 redirection for such cases - what is the right way?

Thanks

g1smd

8:08 am on Feb 3, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The right way is any way that returns a single 301 redirect to the correct URL, independent of whether the "wrong" URL was requested as www or non-www and/or with or without a port number.

Any multiple step redirection chain would be an error in and of itself.