Jump to content

How can I split the following and redirect?


networkthis

Recommended Posts

I need to achieve the following.....I am trying to take the following Example:

 

http://www.example.com/user1/files?path=file1

 

and redirect if the user trys to type in a different path

 

Example: http://www.example.com/user2/files

 

I was thinking if $url !== http://www.example.com/user1/files then to redirect with headers.  Everything I keep trying doesn't work...Any Ideas/maybe an example???

 

Thank you

 

 

 

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.