Installed MultiSite but can't access the wp-admin of any sub site

I've installed multisit (directory option). I can add new sites, and visit those sites, but when I try to access the admin of any site, I just get the following message "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

For example, I can visit: http://wtpms.azurewebsites.net/site1/
But get the error message when browsing to: http://wtpms.azurewebsites.net/site1/wp-admin/

Any suggestions?

Thanks!

  • Adam Czajczyk

    Hello Steve,

    I hope you're well today and thank you for your question!

    I checked the site and it seems it's not only the back-end but also front-end that's affected. The site in question loads for me but it doesn't fetch any styles and other theme and plugins related data, instead giving a "HTTP 404 Not found" error in browser's console.

    Could you please share the content of your site's ".htaccess" file with me here? It would be also great if you could grant me a support access to your site as described in this article:

    https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Best regards,
    Adam

  • Steve

    Hi Adam,

    Thanks for looking into it. I don't have an .htaccess file, but I did make changes to web.config as provided to me during the setup. Here's what it said to add:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="WordPress Rule 1" stopProcessing="true">
    <match url="^index\.php$" ignoreCase="false" />
    <action type="None" />
    </rule>
    <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>
    <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" />
    </conditions>
    <action type="None" />
    </rule>
    <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>
    <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>
    <rule name="WordPress Rule 6" stopProcessing="true">
    <match url="." ignoreCase="false" />
    <action type="Rewrite" url="index.php" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>

    Support access has been granted

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.