Jump to content

Is it possible to redirect in this way?


merylvingien

Recommended Posts

Hi Fellas, i rewrote some urls ages ago and the rewritten urls are hard coded into a database, lots of them.

I have had to change some things about and those rewritten urls are no longer active and need to be rewritten or redirected back to the originals, all very confusing i know.

 

Anyway, is it possible to redirect a url in this way?

 

redirect 301 /folder-name/$1 http://www.mysite.com/folder-name.php?variable=$1

 

I have tried this and NO! But i am sure you guys will know a way, and i am useless (worse than useless at writing htaccess)

 

Any help would be appreciated as always!

Link to comment
https://forums.phpfreaks.com/topic/196663-is-it-possible-to-redirect-in-this-way/
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.