Se você utiliza a Hospedagem com Servidor Windows e ao alterar a configuração dos Links Permanentes e gera erro
[box type=”error” align=”alignright” class=”” width=””]
 Server Error 404
 File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
 [/box]
Basta:
- Criar o arquivo web.config e adicionar em httpdocs da sua hospedagem ou editar o arquivo se já tiver no servidor.
- Adicionar o código abaixo:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress Rule" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?page_id={R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
  