Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
is it possible to create a redirect page with diffrent content?

what i need is: create a redirect page with diffrent content (in same url) depending on source url where visitor come! for exemple :

  • Visitor X come from a href url www.example.com/page?u=target1.com
  • Visitor Y come from ahref url www.example.com/page?u=target2.com

the redirect page for both visitors X and Y is www.example.com/redirect-page but with different content for the visitor X a (button) with a href button to target1.com for the visitor Y a href (button) to target2.com (sorry for my bad english, i hope get the right answer )

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

  1. read the query parameter
       parse_str($_SERVER['QUERY_STRING'], $queries);
       $queries["u"] will be the target
    
  2. Store the target value in session $_SESSION["targetValue"] = $queries["u"]
  3. Redirect the user to /redirect-page/
  4. You can show/hide/render depending on $_SESSION["targetValue"]
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!