Support » Installing WordPress » mod rewrite permalinks index.php

  • Resolved yesmaybe


    I have IIS7 server with a couple of domains with wordress installed.

    The ISAPI rewrite filter is setup and works on one domain. It was working on the other domain, but the server overloaded and I had to reinstall the services.

    I have the web.config setup as below (same on both domains), but permalinks does not work properly.

    If default permalink, then works. If pretty permalinks, then does not work, but works. loads the main page. Other links properly. If you search Google, this page is cached [] so permalinks where working before the server failed.

    Any idea what IIS7 settings I should look at, reboot, or check?

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Mark Ratledge


    Forum Moderator

    sorry, code should be as follows.

    Basically, without permalinks, the old links don’t work. With pretty permalinks, all pages work except you NEED to include the index.php which obviously isn’t ideal when looking at the site root.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Hi Songdogtech,

    yes, that is one resource I have used.

    I have since found out the problem, it seems I was set up on PHP 4.4.7 and I needed PHP 5.2.13 run as CGI script.

    At least changing that setting seemed to fix the issue.


    PLEASE help!!! I have the same problem…pretty perms work great except on homepage. I have set to use php 5.2.6 run as fastcgi (have switched to cgi just to see if it would help – it didn’t). Plus I was having the problem of always having to include “index.php” in site root url. I SOMEHOW fixed that problem but now I’m stuck with a homepage that says “This is somewhat embarrassing, isn’t it?” or ugly permalinks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘mod rewrite permalinks index.php’ is closed to new replies.