Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

146
Vistas
I need to redirect users who come from URL containing specific word using php or javascript (not htaccess)

I need help to create a code that redirects only users who came to my website from an url containing specific word, lets say for example "recipes". If the user comes to my website from a website that contains in the url the word recipes, then redirect to another another URL if not, nothing happens. The script must be using php or javascript but not htaccess rules.

Also I would appreciate if the redirection can use regular expression, for example mywebsite.com/post to website.net/post.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda