1

client had a WordPress install already running on IIS. when i am trying to change permalink, it is working only with /index.php/%postname. my site on IIS6

Permalink Settings

also created web.config file with below code

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
    <rules>
        <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>

What I can't do:

  • Upgrade to IIS7
  • Switch to Apache
  • Quit my job

Those suggestions have been offered to me, which sadly, I can't do any of those. Just an, FYI.

Much thanks for anyone who can lead me in the right direction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.