Permalink not working on IIS hosting (2 posts)

  1. skopy
    Posted 2 years ago #

    Custom permalink is not working. I am trying to setup custom permalink structure on my shared IIS 7 hosting. My website hosting company has informed me that URL ReWrite module has been installed.

    I am trying to use a custom structure for my URL.

    Below is the <ReWrite> snippet from web.config file under <system.webServer>

    <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" />
    <action type="Rewrite" url="index.php" />

    I tried the following but it still didn't work
    <action type="Rewrite" url="./index.php" />
    <action type="Rewrite" url="/index.php" />

    I am using Twenty Twelve theme and running WordPress 3.5.1.
    Any idea what am i missing here?

  2. skopy
    Posted 2 years ago #

    Hi All,
    Any pointers where i might be going wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic