Help with Rewrite
2 posts
• Page 1 of 1
- shasha821110
-
- Posts: 1
- Joined: 13 May 2013, 15:17
Help with Rewrite
Hi All,
i have a rewrite question that need help with.
Rewrite from this URL:
to this URL:
Using the following rules:
But it gives me pink--x.cfm not error?
Is there something wrong with my rewrite rule?
Thanks in advance.
i have a rewrite question that need help with.
Rewrite from this URL:
- Code: Select all
mydomain/x.cfm?color=pink&page=1
to this URL:
- Code: Select all
mydomain/pink--x.cfm?page=1
Using the following rules:
- Code: Select all
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(color=.*&page=*)?$
RewriteRule ^shop/(.*)--(.*)?page=(.*)/?$ shop/$2.cfm?color=$1&page=$3 [R,NC,L]
But it gives me pink--x.cfm not error?
Is there something wrong with my rewrite rule?
Thanks in advance.
Re: Help with Rewrite
I've already answered you on StackOverflow:
http://stackoverflow.com/questions/16530522/rewrite-rules-with-question-mark-in-isapi/
http://stackoverflow.com/questions/16530522/rewrite-rules-with-question-mark-in-isapi/
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests