404 Errors on new install


If you installed Disciple.Tools and are getting 404 errors or /contacts or other pages try this: Log in to wp-admin and go to Settings > Permalinks. You don’t need to change anything, just click save at the bottom.

Special Note for hosting on Windows servers: If you receive a 404 error message when trying to preview or run DT after installing WordPress and the DT theme, check the root WordPress folder (e.g., C:\inetpub\wwwroot\wordpress) , and verify the web.config file exists. If not, create a text file named “web.config,” and include the following default code in the file:

<?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="WordPress" 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" appendQueryString="true" />
                    </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

For more information, please refer to https://www.smarterasp.net/support/kb/a1433/how-to-enable-wordpress-iis-rewrite-wordpress-iis-rewrite-example.aspx.


Section Contents

Last Modified: June 9, 2020