How to rewrite % signs in URLs
27 posts
• Page 2 of 2 • 1, 2
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: How to rewrite % signs in URLs
It seemed, at first, NE should work... You can find a list of flags here - http://www.helicontech.com/isapi_rewrit ... teRule.htm. Another one that we may wanna try is NU.
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: How to rewrite % signs in URLs
I know... I've asked my colleagues. They will reply if come up with a better solution.
Re: How to rewrite % signs in URLs
Many thanks Andrew, really appreciate your help in what is a very complex subject.
Heaven forbid, could it be a bug in the rewriter?
Heaven forbid, could it be a bug in the rewriter?
Re: How to rewrite % signs in URLs
Hello,
Please try to use the following rules:
RewriteCond %{QUERY_STRING} ^(.+?)\%(?!25)(.*)$
RewriteRule ^(.*) $1\?%1\%25%2 [NE,LP,R=301,L]
Please try to use the following rules:
RewriteCond %{QUERY_STRING} ^(.+?)\%(?!25)(.*)$
RewriteRule ^(.*) $1\?%1\%25%2 [NE,LP,R=301,L]
Re: How to rewrite % signs in URLs
Anton that works! Impressive. There should be a compendium of all these rewrites!
Thanks to all again.
Thanks to all again.
27 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 11 guests