On Mon, 2009-07-27 at 18:25 +1200, Hadley Rich wrote:
> On Mon, 2009-07-27 at 18:05 +1200, steve wrote:
> > Now I've recognised this with
> >
> > RewriteCond %{QUERY_STRING} &?id=(37)
> > RewriteRule index\.php /current-weather [R=301,NC,L]
> >
> > and it redirects to the mew page fine, but it's still got the get
> > value
> > on the end. Does anyone have any idea on how to drop it... or improve
> > on
> > what I've got at present??
>
> Add a ? to the end of your RewriteRule;
>
> RewriteRule index\.php /current-weather? [R=301,NC,L]
>
> That should strip it for you.
>
> hads
Perfect, thanks!THe only strange thing is that I've not received a copy of the mail I sent, just your reply. I don't think this mailing list likes me ): Beers're owed, Steve -- Steve Holdoway <[email protected]> http://www.greengecko.co.nz MSN: [email protected] GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0
signature.asc
Description: This is a digitally signed message part
