Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m getting the same :o(

    The .htaccess file won’t work with server 2008.
    You need to have the rewite module installed on the server Here

    You also need to configure the web.config file which is IIS’s version of .htaccess sort of. Mine looks like this. The 2nd rule helps with pretty permalinks.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <defaultDocument>
                <files>
                    <clear />
                    <add value="index.php" />
                </files>
            </defaultDocument>
            <rewrite>
    		    <rules>
                    <rule name="Uploaded Files" stopProcessing="true">
                        <match url="^files/(.+)" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" />
                    </rule>
    		        <rule name="Main Rule" stopProcessing="true">
    		            <match url=".*" />
    		            <conditions logicalGrouping="MatchAll">
    		                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    		                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    		            </conditions>
    		            <action type="Rewrite" url="index.php" />
    		        </rule>
    		    </rules>
    		</rewrite>
        </system.webServer>
    </configuration>

    Hope this helps

    I did mean quotes! Where did I get hyphens from lol! I didn’t even spell it correctly.
    Crazy day yesterday sorry. Must have had a panic. I don’t comment alot.

    Glad you are up and running. Have fun

    This drove me mad and it was all down to the ‘hyphons’! around ‘WP_ALLOW_MULTISITE’ I copied it into the config from somewhere on the web into notepad.

    After pulling my hair out as to why the Networks hadn’t showed up I opened wp-config in notepadd++ and it showed me the errors (and I think I heard it snigger at me)

    I know I’m stupid but if it helps anyone else …..

    Now can I post this as Anonymous?

    Thread Starter enjaytee

    (@enjaytee)

    Thanks for the replies.

    Does anyone know what that plugin is called?

    Oh I didn’t paste the whole lot . woops sorry:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <defaultDocument>
                <files>
                    <clear />
                    <add value="index.php" />
                </files>
            </defaultDocument>
            <rewrite>
    		    <rules>
                    <rule name="Uploaded Files" stopProcessing="true">
                        <match url="^files/(.+)" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" />
                    </rule>
    		        <rule name="Main Rule" stopProcessing="true">
    		            <match url=".*" />
    		            <conditions logicalGrouping="MatchAll">
    		                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    		                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    		            </conditions>
    		            <action type="Rewrite" url="index.php" />
    		        </rule>
    		    </rules>
    		</rewrite>
        </system.webServer>
    </configuration>

    Are you running IIS7? I have struggled with this but just solved it with a rewrite rule in the web.config. I’ll paste the whole lot it as there is a rule to help with pretty permalinks aswell:

    <rule name="Uploaded Files" stopProcessing="true">
                        <match url="^files/(.+)" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" />
                    </rule>

    This is my first post so if the code looks awfull sorry.

Viewing 7 replies - 1 through 7 (of 7 total)