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

142
Views
Adding URL param to a 302 redirect with JavaScript

Let's say I have https://websiteA.com and https://websiteB.com

All websiteA does, is make a 302 redirection to websiteB

If someone goes to:

https://websiteA.com?firstName=john&lastName=smith

Is it possible to pass all the URL params from the websiteA request to the redirection to websiteB, so that the user ultimately lands at:

https://websiteB.com?firstName=john&lastName=smith

using JavaScript only?

about 4 years ago · Juan Pablo Isaza
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!