Hi,
I'm trying to get a URL such as:
...to goto:
I'm using this line as a test:
I can't seem to get it to work though. Anyone got any suggestions? (we need to allow for & and also ; as the param delimiter, thus [&;])
TIA!
Andy
I'm trying to get a URL such as:
Code:
[URL unfurl="true"]http://www.site.com/cgi-bin/search.cgi?query=;sb=Sponsored_c;so=DESC;mh=25;Type=x;Options=foo-bar;nh=11[/URL]
...to goto:
Code:
[URL unfurl="true"]http://www.site.com/collections/foo-bar/[/URL]
I'm using this line as a test:
Code:
RewriteCond %{QUERY_STRING} ^query=[&;]sb=Sponsored_c[&;]so=DESC[&;]mh=25[&;]Type=x[&;]Options=foo-bar[&;]nh=([0-9]+)
RewriteRule search\.cgi /collections/foo-bar/more%1.html [R=301,L]
I can't seem to get it to work though. Anyone got any suggestions? (we need to allow for & and also ; as the param delimiter, thus [&;])
TIA!
Andy