Forum Moderators: phranque
I have a link that has a query string that I would like to drop once rerwritten to the new page.
I've got...
#to catch and rewrite/regEx out rubbish
#RewriteRule (.*) - [e=resort:default]
#RewriteCond %{QUERY_STRING} resort=([^&]+)
#RewriteRule (.*) - [e=resort:%1]
RewriteRule^resort(\.shtml)(.*)$
[domain.co.uk...]
But when this example is rewritten it has index.shtml?resort=blah blah instead of just index.shtml
Can anyone help with this?
cheers, ject