• Resolved naupadnara

    (@naupadnara)


    I installed wordpress 3.2 RC with multi-site and everything worked fine. When I click on Add New Site (under the Network Admin Menu), the site is added but clicking on it generates IIS 404.0 error. Also under the dashboard of Network Admin, even after adding new sites it says: currently you have 1 Site and 1 User.

    Help me……………

Viewing 10 replies - 1 through 10 (of 10 total)
  • The subsites work on those htaccess rules you had to add. if you’re in an IIS server that doesn’t use htaccess, you’ll have to find the web.config entries around here.

    Thread Starter naupadnara

    (@naupadnara)

    Thank you so much Andrea….I tried with web.config rewrite rules and it worked….

    Thread Starter naupadnara

    (@naupadnara)

    Anyone having problem with rewrite rules in wordpress, you may try the ones which I used successfully:

    <?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-]+/)?files/(.+)" ignoreCase="false" />
                        <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" />
                    </rule>
                    <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>
                    <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" />
                        </conditions>
                        <action type="None" />
                    </rule>
                    <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>
                    <rule name="WordPress Rule 6" stopProcessing="true">
                        <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
                        <action type="Rewrite" url="{R:2}" />
                    </rule>
                    <rule name="WordPress Rule 7" stopProcessing="true">
                        <match url="." ignoreCase="false" />
                        <action type="Rewrite" url="index.php" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>

    THANK YOU naupadnara!!!!

    I have been messing with that for days and your web.config fixed it right away!!!!

    M

    (@metacomcreative)

    I just wanted to login to say thanks! You saved me from quite the heaadache, haha.

    Dear Mikeward,Ryan, and others

    Please tell me where is this web.config file found?
    i searched in whole of my wp folder

    Please its very urgent

    Thanks

    regards
    SKSundaram

    SKSundaram.

    web.config is a .net file located in the root of your .net website. It is not in the wp dir and will only apply if you are running a .net site.

    Hope that helps.
    Mike

    Thread Starter naupadnara

    (@naupadnara)

    Dear SKSundaram,

    You have to open a blank notepad file and cop the web.config rules. Save as web.config file and while saving dont forget to select “All Files” from Dropdown or else it will be saved as .txt file.

    Place this web.config file with your other wordpress setup files.

    You use web.config when you have wordpress multisite on IIS.

    Hi all

    This looks like a great web.config file but I am having a little trouble getting this to work for new sub folder sites on IIS 6.

    My set up is complicated but in summary is:

    Win 2003 > IIS 6 > .NET site running on primary domain > WordPress in root of this domain running under Phalanger within the .NET application pool 🙂

    I can add sites within the Network Admin screen but the web.config above just isn’t kicking in to manage these sites – any help much appreciated!

    NOTE: I know the above sounds like a crazy set up but it’s the only way I could think to get multi site working within the root of the primary domain whilst keeping lots of legacy asp, aspx and html running whilst we slowly replace these!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Andybann – This topic is resolved and (as you mentioned) you have a different, more complicated setup. Please make a NEW topic, all for yourself, about this.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multisite Install’ is closed to new replies.