Forum Moderators: phranque

Message Too Old, No Replies

redirection with Hex in the URL?

Got these pages that indexed with hex vars in the URL.

         

acimag

8:49 pm on Nov 8, 2010 (gmt 0)

10+ Year Member



Looking into an issue that was brought to my attention.

Seems that a simple redirect wont work.

I tried both:

#RewriteRule ^California-card_%E2%80%8Bstores.html [domain.org...] [R=301]
redirect 301 /California-car_%E2%80%8Bstores.html [domain.org...]

They both ignore my command but i dont want a duplicate content problem? you guys have nay idea?

-Anthony

acimag

2:32 pm on Nov 9, 2010 (gmt 0)

10+ Year Member



bump?

Basically I dont know how these urls get indexed and i just want to redirect them. any ideas?

I also tried:

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /California-card_%E2%80%8Bstores\.html\ HTTP/

RewriteRule ^California-card_%E2%80%8Bstores.html [do...] main.org/California-card_stores.html? [R=301,L]

jdMorgan

1:08 am on Nov 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The percent signs need to be escaped, and a few more tweaks might help:

RewriteCond %{THE_REQUEST} ^[A-Z]+\ /California-card_\%[Ee]2\%80\%8[Bb]stores\.html
RewriteRule ^California-card_.+stores\.html$ http://www.example.org/California-card_stores.html? [R=301,L]

Jim