Documentação do Duplicator

Documentação, Materiais de Referência e Tutoriais para o Duplicator

How to Fix Homepage and Sub-Pages Not Showing after a Migration


If your homepage or sub-pages are not displaying correctly after migrating your site with Duplicator, there may be a few possible causes. This guide will walk you through the most common issues and how to resolve them.

Homepage Works but Sub-Pages or Posts Do Not

If your homepage is working, but your sub-pages, posts, or other URLs show a 404 error or a blank page, try the following solutions.

Sometimes, re-saving your permalinks can resolve URL issues.

  1. Log in to your WordPress admin panel.
  2. Scroll down and click Save Changes (without making any changes).
  3. Visit one of your sub-pages to check if the issue is resolved.

Solution 2: Enable mod_rewrite Module

If re-saving permalinks doesn’t work, the mod_rewrite module might not be enabled on your server. This module is required for WordPress permalinks to work.

For Apache 2.x on Linux:

  1. Open a terminal.
  2. Run the following command:
    • a2enmod rewrite
    • /etc/init.d/apache2 restart

For WAMP or IIS:

If you’re using a different system, use a search engine like Google to search for “how to enable mod_rewrite for [your system]” to find the relevant instructions.

Solution 3: Adjust AllowOverride Setting (Apache Only)

If solutions 1 or 2 do not fix the issue, you may need to adjust the AllowOverride setting in your Apache configuration.

The full run-down for how to work with this setting can be found here.

If you’re unsure about these settings, contact your hosting provider.

Solution 4: Run the Installer in Safe Mode

In some cases plugins and/or themes can cause issues with the installation process. If the previous solutions do not work, running the Duplicator installer in Safe Mode may help.

Para isolar rapidamente problemas comuns e desativar plugins enquanto executa o Instalador, comece ativando o Modo Avançado no canto superior direito e certifique-se de que Instalação Completa esteja selecionado se você optar por usar o Modo de Segurança.

Em seguida, insira as informações de Conexão do Banco de Dados em Configuração e clique em Validar.

Para desativar todos os plugins de uma vez:

  • When beginning Step 1 of the Installer, use Options » Advanced » Safe Mode.
    • Defina o menu suspenso para Ativado.

Para desativar apenas alguns plugins:

  • Ao iniciar a Etapa 3 do Instalador, use Opções » Plugins Ativos para desativar plugins individuais um por um, desmarcando-os.

Recomenda-se usar o Modo de Segurança primeiro. Se você suspeitar que um ou mais plugins estão causando o problema, desative o Modo de Segurança e, em seguida, desative esses plugins específicos na Etapa 3, conforme mostrado acima. Por fim, após fazer login no seu WordPress admin, reative cada plugin um por um e salve novamente quaisquer configurações, se aplicável, até que o problema seja encontrado.

Homepage Does Not Work or Shows the Host’s Default Page

If your homepage shows your hosting provider’s default page or doesn’t work at all, try the following fixes.

Solution 1: Check for Default HTML Files

Make sure that a default.html or index.html file is not overriding your index.php file.

  1. Connect to your site via FTP or your hosting file manager.
  2. Check the root directory (public_html or equivalent).
  3. If you find a default.html or index.html file, rename or delete it.
  4. Try accessing your site again.

Solution 2: Run the Installer in Safe Mode

Similar to Solution 4 for Issue A, running the installer in Safe Mode can also help fix this issue.

If you are still facing issues, you may want to check out the following related issues and solutions:

That’s it! We hope that this guide helped you fix the homepage or sub-pages that are were displaying incorrectly after migrating your site with Duplicator.

If you are looking for a way to solve migration issues, check out our guide: “How to resolve WordPress migration issues?


Este artigo foi útil?


Artigos Relacionados

Não Deixe Mais Um Dia Passar Desprotegido

Cada hora sem backups adequados do WordPress coloca seu site em risco • Cada migração atrasada do WordPress custa desempenho e crescimento

Get Duplicator Now
Plugin Duplicator

Espere! Não perca sua
oferta exclusiva!

Como cliente , você recebe 60% DE DESCONTO

Experimente o Duplicator gratuitamente em seu site — veja por que mais de 1,5 milhão de profissionais do WordPress confiam em nós. Mas não espere — este desconto exclusivo de 60% está disponível apenas por tempo limitado.

or
Get 60% Off Duplicator Pro Now →