Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
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

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

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.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda