homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

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

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

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?




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


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]


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

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]


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved