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

208
Views
Htaccess reescribe el hash ssid para evitar malas coincidencias

Tengo esta URL antigua:

 http://www.domaine.com/index.php/cPath/13/SessionSid/3a56bd633c7826896d40a4809d353370

Eso puede tener múltiples formas como esas:

 http://www.domaine.com/index.php/keyword/cPath/13/SessionSid/3a56bd633c7826896d40a4809d353370 http://www.domaine.com/index.php/keyword/cPath/13 http://www.domaine.com/index.php/cPath/13

Eso debería ser redirigido a la nueva URL: https://www.domaine.com/12-url2

Pero mi problema es que cuando tengo un hash de sesión en la URL, puede coincidir con otros muchos redireccionamientos.

Sin embargo, traté de reescribir hash a nada para evitar que todas mis otras reglas por ID coincidieran con él, pero no puedo obtenerlo con ninguna Bandera que haya probado.

Este es un extracto de mi htacess:

 RewriteEngine on RewriteRule (.*)/[a-f0-9]{32} $1 RedirectMatch 301 (.*)cPath(.*)96(.*) https://www.domaine.com/42-url1 RedirectMatch 301 (.*)cPath(.*)13(.*) https://www.domaine.com/12-url2

¿Alguien puede ayudarme por favor?

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!