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

315
Visualizações
When typing my website's URL with a subfolder, why does the subfolder name get combined with the URL name?

For some reason, when I type in my website's short-form URL (without WWW), any subfolders get smushed into the end of the domain name, and I end up getting my ISP's error page.

hudsons.network/weather as an example

But entering my website's URL with WWW works just fine.

www.hudsons.network/weather

At the same time, just typing in hudsons.network redirects to www.hudsons.network, the way I had configured it in Apache.

Here's my configuration:

  • I have two Virtual Hosts, one for hudsons.network (the default) and another for www.hudsons.network (my own)
  • In the configuration file for the default host, I have this line: Redirect permanent / http://www.hudsons.network

I've seen similar behavior on Safari, Opera, and Internet Explorer, and I think it has to do with my website's redirects. Why is this happening, and what rules do I need so that my site redirects the way I expect?

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

0

I've found the answer here. I also deleted the RewriteBase line because my config file is in /etc/apache2/sites-available. Works like a charm!

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