Support » Fixing WordPress » IIS7.5 Pretty Permalinks Not Working

  • Resolved sporty


    The “pretty permalinks” don’t work for me.

    WP 3.0 itself works like a dream, I suspect it’s something to do with the rewrite module.

    I want to use custom structure like
    /%year%/%month%/%postname%/ or better /%postname%/

    I just get 404 errors when navigating to, for example, (WP does rename the links to be ‘pretty’ but won’t navigate to them)

    I have a nice clean WP 3.0 install on windows 7/IIS 7.5 on my local machine. Php version 5.2.13 and Server API shows “CGI/FastCGI”. I installed WP 3.0 by installing using MS platform installer (installed wp 2.8 or 2.9 I think) then upgraded which works amazingly smoothly.

    Have tried NUMEROUS web.config rewrite styles from different forums etc, but always get 404 not found when I it tries to access the pretty url. this is my current one:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <rule name=”WordPress Rule” stopProcessing=”true”>
    <match url=”.*” />
    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
    <action type=”Rewrite” url=”index.php?page_id={R:0}” />

    I’d love to create a step by step guide for this if I can get it working.

    Physical path is C:\inetpub\wwwroot\wp e.g:
    C:\inetpub\wwwroot\wp\ wp-content
    C:\inetpub\wwwroot\wp\ wp-includes

    I only have one web.config and it is located on

    c:\inetpub\wwwroot\wp\php.ini says:
    cgi.fix_pathinfo = 1
    cgi.force_redirect = 0

    I actually thought WP 2.8+ would create the correct web.config or setttings for permalinks but doesn’t seem to do that.

    Being my local server I have tried giving ‘everyone’ full permissions on the wp subfolder incase there was some permissions error.

    I am using a hosts entry called and browing on

    everything works peferectly until I try pretty permalinks.

    I have also tried this on windows 2008 server environment and been unable to get it working. actually I tried that first and figured I’d be better off getting it working on my local server then trying production 😉

    any help GREATLY apreciated. I’ve spent on and off weeks trolling forums and trying to get this working, first on 2.8, 2.9 and now 3.0


Viewing 3 replies - 1 through 3 (of 3 total)
  • Review this page.

    Thanks, I did review the documentation on installation and have tried those settings, they are bsaically the same as what I have above, and it doesn’t work on either server.

    i see that page links to an offsite page with has a _different_ setting, so I’m not sure which one is supposely correct, maybe both.. but neither work for me.

    does anyone have any ideas if there any other variations I should try? what else should I check? how can I go about debugging whats wrong?

    Resolved, with much help from microsoft, somehow the installation process had failed partly for the RewriteModule. It did install, however was non-functional because a dll didn’t register properly. apparently this is very rate, lucky me!

    was fixed with a complex and probably unrepeatable series of manually editing IIS configuration files.. however repairing, or reinstallation of the rewrite module might help you if you are in the same situation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘IIS7.5 Pretty Permalinks Not Working’ is closed to new replies.