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

570
Views
apache: redirect only when url matches without query

I have this redirect

 RewriteRule ^on-the-yard/detail/?$ /on-the-yard/ [R=302,NE,L]

and I would like to use it ONLY when the exact URL matches ^on-the-yard/detail/?$, but the problem I'm having is that the URL is also redirecting when there are queries attached.

E.g. on-the-yard/detail?param=1&param2=test is redirecting to /on-the-yard/

Any advice is helpful Thanks!

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!