...

View Full Version : How to redirect this url?



yashsaxena
05-23-2011, 01:10 PM
Hello All
Can any one tell me how to redirect the url having comma and space after .html
like : <url>.html,<space>

i have tried this and none of this working
RewriteRule ^abc\/xyz\.html,$ /abc/xyz.html [r=301,nc]
RewriteRule ^abc\/xyz\.html\,\ $ /abc/xyz.html [r=301,nc]
RewriteRule ^abc\/xyz\.html,\ $ /abc/xyz.html [r=301,nc]
RewriteRule ^abc\/xyz\.html\, $ /abc/xyz.html [r=301,nc]

abduraooft
05-23-2011, 01:17 PM
Would there be anything other than space and comma after .html, to be treated differently?

yashsaxena
05-24-2011, 06:13 AM
Would there be anything other than space and comma after .html, to be treated differently?

Yes. after .html it is treating differently atleast for my website's url.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum