Forum Moderators: phranque

Message Too Old, No Replies

htaccess 301 redirect problem - %EF%BB%BF - Byte Order Mark

         

fibdes

12:24 pm on Dec 11, 2014 (gmt 0)

10+ Year Member



Hi,
New to this forum and also I am more front end web than back end dev!
I have a client who needs a redirect done on a specific url that has a Byte Order Mark appended on the end as follows (url details replaced to show example):-

http://example.com/blog/this-is-the-post-name-2%EF%BB%BF

and they want it redirected to here:-

http://example.com/blog/this-is-a-different-post-name-1

I have looked through the foruym and found this thread - [webmasterworld.com...] - that also refers to this thread - [webmasterworld.com...] - but neither of them quite fit what I need to do...

Anyone able to help a floundering newbie?!
TIA

[edited by: Ocean10000 at 4:26 pm (utc) on Dec 11, 2014]
[edit reason] Examplified. [/edit]

lucy24

5:59 pm on Dec 11, 2014 (gmt 0)

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



What have you tried so far and what exactly was the result? where "exactly" means details, not just "it didn't work".

:: detour to study earlier cited posts ::

The problem may be that you need to look at %{THE_REQUEST} in order to see the % signs. (By the usual tiresome coincidence, it is not 24 hours since I came across an unrelated pattern that could only be detected in a RewriteCond, even though it pertained to material that was plainly visible in the URLpath. Yawn.)

But let's first eliminate the things you've tried that didn't work as intended.