Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the feeds-for-youtube domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the instagram-feed domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114
Retirar o index.php dos links permanentes do site Wordpress | Empresa Digital

1. Acesse o painel do WordPress.

2. Vá em Configurações / Links Permanentes.

3. Escolha a opção Estrutura Personalizada. Na caixa de texto apague o index.php. Clique nos botões abaixo para montar a estrutura como quiser. Sugerimos as opções %/category% e %/postname%.

Nome-do-domínio/%category%/%postname%/

A estrutura final deve ficar assim (substituindo a parte em roxo pelo seu domínio). Clique em Salvar Alterações.

4. Modifique o arquivo .htaccess do seu WordPress adicionando essas linhas:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

5. Salve as configurações e pronto, basta acessar o site novamente.