Sub-Directory Installation - New Site - 404 Error Not Found

Im using Godaddy, Ive updated my wpconfig and access files, and used the Sub-Directory method, when I make a new site the user gets a 404 error, seems like the file structure was not created properly, I am attaching screen shots.

  • Kunal

    Add the following to your web.config file in G:disappointed:PleskVhosts/, replacing other WordPress rules:

    <?xml version="1.0" encoding="UTF-8"?>
    <rule name="WordPress Rule 1" stopProcessing="true">
    <match url="^index\.php$" ignoreCase="false" />
    <action type="None" />
    <rule name="WordPress Rule 2" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" />
    <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" />
    <rule name="WordPress Rule 3" stopProcessing="true">
    <match url="^" ignoreCase="false" />
    <conditions logicalGrouping="MatchAny">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
    <action type="None" />
    <rule name="WordPress Rule 4" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
    <action type="Rewrite" url="{R:1}" />
    <rule name="WordPress Rule 5" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
    <action type="Rewrite" url="{R:2}" />
    <rule name="WordPress Rule 6" stopProcessing="true">
    <match url="." ignoreCase="false" />
    <action type="Rewrite" url="index.php" />

  • PC

    Hey there,

    Thanks for posting on the forums.

    Can you kindly confirm if you have setup the wp-config.php and .htaccess file as per the settings defined in the Network Setup ?

    404 depend on .htaccess and incorrect .htaccess can cause issues like this.

    Also, I notice you are using GoDaddy, which I do not have much experience with for hosting but if you are on a shared hosting plan, they do not support WordPress Multisite I think.

    Can you confirm this with them as well ?

    Cheers, PC

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.