WordPress.org

Ready to get started?Download WordPress

Forums

New sites not working (2 posts)

  1. cerics
    Member
    Posted 1 year ago #

    I have re-setup and re-setup my database + wordpress installation attempting to get MU to work properly. No success.

    Details:
    I am running IIS 7, Windows Web Server 2008.
    The server is located on our local network. I remote desktop into it to control it.

    Here is what I am doing:
    I create my database within phpmyadmin, no problems.
    I copy wordpress onto the web root. (c:\inetpub\wwwroot)
    I load localhost/wp-admin/install.php to install wordpress.
    I login to wordpress.
    I then update my wp-config.php file with define('WP_ALLOW_MULTISITE', true); , I add this to the line right before That's all, stop editing! Happy blogging.
    I go back to my dashboard and enable network support. I change my wp-config.php file and web.config file exactly how it wants me to.
    I re-login to wordpress.

    Here is where the problem occurs:
    I create a new site.
    I try to access the new site "localhost/newsitename"
    It shows default content but does not have any styling or images.
    I attempt to go to the newsitename dashboard "localhost/newsitename/wp-admin" and it says resource cannot be found.

    I have given the user "everyone" full permission. I have also cleared my browser cache.

    Any ideas? I feel like i've tried them all.

    Thanks in advance!

  2. cerics
    Member
    Posted 1 year ago #

    Web.config:

    <?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>

Topic Closed

This topic has been closed to new replies.

About this Topic