omoutop

msg:4293616 | 10:01 am on Apr 7, 2011 (gmt 0) |
For the double slash problem (//) i think this might help (301 redirect to normal url) RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2 [R=301,L]
|
g1smd

msg:4293828 | 7:30 pm on Apr 7, 2011 (gmt 0) |
Never use multiple (.*) patterns in a rule. The rule will have to try tens of thousands of trial matches. It is very very inefficient. Please post the code using "example.com". The forum will not auto-link "example.com" URLs.
|
Jessica97

msg:4308134 | 5:25 am on May 5, 2011 (gmt 0) |
I missed this response, but am still looking for a way if possible to strip out all instances of %20 in a url regardless of where they appear if that's possible. For example: 1. http://www.example.com/dir/product-name/%20/ I would like to take out the %20 in the url 2. http://www.example.com/dir/dir/name/%20/name-page-2 need to remove the %20 in that url as well Is there a way to always strip out the %20 in a url regardless of where it is located? Thanks very much for the help.
|
|