• I have my blog installed in a directory called recording-blog

    I am trying to remove index.php in a web.config file in this directory.

    I have altered the permalinks setting from

    /index.php/%year%/%monthnum%/%day%/%postname%/

    to

    /%year%/%monthnum%/%day%/%postname%/

    Then in my web.config file done the following

    <rewrite>
            	<rules>
            		<rule name="Main Rule" stopProcessing="true">
            			<match url="/recording-blog/(.*)" />
            			<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>

    When I click one of the links it just takes me to our 404 page.

    Can anyone help me out with this?

    Thanks

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

The topic ‘IIS remove index.php’ is closed to new replies.