Jump to content

redirect question


smith.james0

Recommended Posts

Evening

 

I need to set up a redirect from 

/included/bee.php?id=XXX

to

/bee.php?ID=XXX

 

But I need to keep the variable as well, the variable does change case it's not a typo.

 

I have tried this, but it's not working. 

 

RewriteEngine On
RewriteRule ^/bee.php?ID=([^/d]+)?$ /included/bee.php?id=$1 [L,QSA]
 
Can anyone point me in the right direction?
 
James
 
 

 

Link to comment
https://forums.phpfreaks.com/topic/285313-redirect-question/
Share on other sites

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.