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

245
Views
Mod_rewrite: discard the first string in URL upon redirect to a new URL while preserving all other strings

I have a url structure like the following for all domains:

https://www.example.com/string1/string2/string3/string4

i want to redirect all/any domains to a new single domain url with the following format:

https://www.newexample.com/string2/string3/string4

the url remains in tact other than the first /string1/ being discarded when the redirect happens

over 4 years ago · Santiago Trujillo
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!