Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

73
Vistas
index.php is bypassed in wordpress local install

hello I have a local wordpress installation, which is a copy of my hosted website. i'm going to try to make it simple :

If i type "http://mylocalwebsite/index.php", it works and shows me my local copy

If i type "http://mylocalwebsite", index.php is still used, but i'm ending in my hosted web page (www.myrealsite.com)

If i type "http://mylocalwebsite" again, it doesn't use index.php, and directly opens my hosted website.

All hosts files are correct, none of them is leading to my hosted website. I've done a search for "www.myrealwebsite.com" in the directories of the local copy : no result.

I just don't understand why. Any ideas ?

Thx

9 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

This is a cached redirect from the browser you are using (since the hostname you are using is not FQDN, the browser tries to correct that, or has previously seen a (301) redirect to the real webpage like from non-www hostname, to a www.hostname and uses that to assume what is correct).

If you try the same with CLI curl request, I would imagine the result will be as you expect.

9 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.