Support » Networking WordPress » WordPress Multisite on Azure: Issue accessing wp-admin

  • Resolved ribbitfrog


    I’m using Microsoft’s Azure hosting (so Windows not Linux)and I’m having trouble with the Multisite installation. I’ve installed WordPress 3.5.1 (using the Azure wizard) and this worked fine and as expected. Then I added in the Multisite code, setup my network to use subfolders (subdirectories), and followed the instructions to modify the web.config and wp-config files. Finally, I created my additional network sites through the “Add New Site” interface. I can access all of the subdirectory sites. However, I can’t get to the wp-admin dashboard of any of the new sites. In other words, I can access but not When I try, I get “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” (Or basically a 404 error).

    I followed these instructions: and tried searching, but can’t figure it out.

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Figured it out – it was the web.config file. If anyone else runs into this, here was the fix that worked for me:

    <?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-]+/)?files/(.+)” ignoreCase=”false” />
    <action type=”Rewrite” url=”wp-includes/ms-files.php?file={R:2}” appendQueryString=”false” />
    <rule name=”WordPress Rule 3″ 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 4″ 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 5″ stopProcessing=”true”>
    <match url=”(^[_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)” ignoreCase=”false” />
    <action type=”Rewrite” url=”{R:2}” />
    <rule name=”WordPress Rule 6″ stopProcessing=”true”>
    <match url=”^([_0-9a-zA-Z-]+/)?(.*\.php)$” ignoreCase=”false” />
    <action type=”Rewrite” url=”{R:2}” />
    <rule name=”WordPress Rule 7″ stopProcessing=”true”>
    <match url=”.” ignoreCase=”false” />
    <action type=”Rewrite” url=”index.php” />

    What exactly was your fix? Did you grab an initial set of rewrite rules from somewhere specific? I found some here:

    But they differ from yours in 3 different places. Do your blogs.dir rewrite rules also work with the above configuration?


    Thanks ribbitfrog its did the trick for me, thanks again guys.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress Multisite on Azure: Issue accessing wp-admin’ is closed to new replies.