We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Redirecting urls with variables

Development and Programming

Farm.Co's avatar
Farm.Co
38 posts
14 years ago
Farm.Co's avatar Farm.Co

Hey there,

Our lead dev is out of service for a few days - food poisoning, thanks for asking - so I’m reaching out to the community to see if my limited php skills can be improved to solve the following issue:

I need to setup a redirection from: htttp://www.domain1.com/test.php?variable1=test&variable2=test2

to:

htttp://www.domain2.com/test.php?variable1=test&variable2=test2

Variables will change all the time, and I have to preserve them exactly as they come in. I’m used to use htaccess for simple redirections (no GET data), and I’ve been lazy enough to use “Detour” for all my EE/PHP redirections.

Any pointers on how to make this happen? Thanks in advance!!

Santiago-

       
lebisol's avatar
lebisol
2,234 posts
14 years ago
lebisol's avatar lebisol

Are you saying that variables or variable value will change? Take a look at this discussion. Have not done it myself.

       
Farm.Co's avatar
Farm.Co
38 posts
14 years ago
Farm.Co's avatar Farm.Co

Thanks lebisol! Just the variable value, thanks for clarifying. The discussion seems to nail the issue, we’ll see if we can make it work on ours!

Cheers,

S

       
lebisol's avatar
lebisol
2,234 posts
14 years ago
lebisol's avatar lebisol

Cool, good luck & sorry I can’t comment much on that thread other than…I hope it helps you 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.