Jump to content

[SOLVED] Redirecting one dynamic url to the other


rachelk

Recommended Posts

I usually just try a bunch of things until something works with mod rewrite, but I'm getting nowhere here!

 

I wanted to redirect

 

http://mysite.com/folder/?id=name

 

to

 

http://mysite.com/folder/?cat=name

 

 

my failed attempt:

RewriteRule \?id=$ http://mysite.com/folder/\?cat=$1 [L,R=301]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.