WordPress Within an Existing WordPress Installation on IIS 7.5 With Permalinks (1 post)

  1. rockgeek
    Posted 1 year ago #

    On Windows Server 2008 R2 and using web platform installer. Installed WordPress to the root. All is working fine there.

    I then created a folder within the root called "SUB" and another one within that called "SITE1". The URL is therefore http://server.com/SUB/SITE1/

    The site works find if permalinks aren't set. However once they are I get a

    HTTP Error 500.52 - URL Rewrite Module

    error which says Cannot add duplicate collection entry of type 'rule' with unique key attribute 'name' set to 'wordpress' The content of web.config is as follows

    <?xml version="1.0" encoding="UTF-8"?>
                <rule name="wordpress" patternSyntax="Wildcard">
                    <match url="*"/>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                    <action type="Rewrite" url="index.php"/>

    Any idea how to get this 2nd install working with permalinks enabled? I've tried putting the sub site as an application but nothing

    I've added <remove name="wordpress" /> to the web.config file but when I visit any post/page it shows the 404 error from the WordPress install in the root

    Thanks in advance


Topic Closed

This topic has been closed to new replies.

About this Topic