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

201
Vistas
Why does the url not change upon redirection in php?

I have a website based on PHP (with MySQL, Javascript, and JQuery)

Its URL remains unchanged even after the redirection to a new page. This happens for all redirections. If I open the link in a new tab, it will work fine and display the entire new URL but not on the same page. I do not get this issue on localhost, only on the server. What should I do to prevent that?

eg. mywebsite.com redirection to page1 should look like: mywebsite.com/page1 but it doesn't change at all.

The redirection methods that I use is either:

header("Location: ../index.php?Login=error3");

or

 <a href="Forms/LogIn.php" class="btn btn-primary">Button</a>

Both redirection types do not change the URL.

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