Forum Moderators: phranque
[mysite.com...]
I have tried several ways to rewrite the rule, but none seem to be working. I know that my problem is the '%' symbols in the code. I dunno why a website linking to us has such a weird url. We have nothing like this on our site.
My questions is how to code this in the .htaccess and just redirect this to the homepage.
Any help? Thanks
Cam
Please post your best-effort code as a basis for focused discussion.
Thanks,
Jim
Redirect 301 /%C2%A0 http://www.example.com/
(That of course didn't work)
I tried "" marks like you do with a URL with spaces/%20's in them.
Redirect 301 /"%C2%A0" http://www.example.com/
I also tried a number of different RewriteRules.
RewriteCond %{REQUEST_URI} !\/^%C2%A0\$ [NC]
RewriteRule ^%C2%A0$ http://www.example.com/ [R=301,L]
These are some of my examples. I am completely off aren't I?
[edited by: jdMorgan at 7:21 pm (utc) on May 7, 2009]
[edit reason] example.com [/edit]