Hi All,
I have the following rewrite rule ..
RewriteRule products/specials(.*)(.*)
/products/index.php?view=specials$1=$2 [L]
http://www.mysite.com/products/specialsfilter=20
-- http://www.mysite.com/products/index.php?view=specialsfilter=20=
The problem is the trailing '='
I have also
I have the following rewrite rule ..
RewriteRule products/specials(.*)(.*)
/products/index.php?view=specials$1=$2 [L]
http://www.mysite.com/products/specialsfilter=20
-- http://www.mysite.com/products/index.php?view=specialsfilter=20=
The problem is the trailing '='
I have also tried
Hi Phil,
Thanks for the reply.
I changed the rule to use a single (.*) but the result was the same.
Here is an example of the url entered ..
http://www.mysite.com/products/specialsfilter=20
and expecting
http://www.mysite.com/products/index.php?view=specialsfilter=20
RewriteRule
RewriteRule products/specials(.*) /products/index.php?view=specials$1=$2 [L]
The rewritten url is close but still has the trailing '='.
What you've put there is different to what I suggested, since you've
kept the =$2 at the end. I still have a feeling this won't be totally
what you need
Thanks Phil.
You just fixed my issue.
Much appreciated.
Philip Wigg wrote:
RewriteRule products/specials(.*) /products/index.php?view=specials$1=$2
[L]
The rewritten url is close but still has the trailing '='.
What you've put there is different to what I suggested, since you've