Pretty permalinks in IIS (5 posts)

  1. fermisoft
    Posted 8 years ago #

    I've a wordpress installation on my IIS hosted site (yemkay.com). After a long search I found a good solution for enabling permalinks on it. Now I have a problem in my homepage.
    As per the solution that I have used, I've added a custom 404 redirect page called wp-404-handler.php with the following code in it,

    $qs = $_SERVER['QUERY_STRING'];
    $pos = strrpos($qs, '://');
    $pos = strpos($qs, '/', $pos + 4);
    $_SERVER['REQUEST_URI'] = substr($qs, $pos);

    My permalink structure is /%category%/%postname%/. When I access the homepage I get a "Not found" error message. All the sections (posts, pages, categories, archives) work fine except the homepage. My homepage shows posts only when I append “/index.php” in the URL address. Simply http://www.yemkay.com doesn’t bring up any posts.

    Any suggestions would be appreciated.


  2. MrZimm
    Posted 8 years ago #

    I see you got it working... what did you have to do?

  3. fermisoft
    Posted 8 years ago #

    No. I haven't yet. I dropped the idea of permalinks after trying out many ways. Installing an ISAPI filter for rewriting is the only thing, which I cudn't try as my web hosting company doesn't support installing filters.

  4. rjoshicool
    Posted 8 years ago #

    i have tried this thing but still cannot access the desired page using permalinks. I keep on getting this error -

    "The system cannot find the file specified."

    Please help me out

  5. Ivovic
    Posted 8 years ago #

    ask your host to install an ISAPI rewrite filter on their windows boxes.

    if they refuse, ask them why they bother putting php and mysql on windows boxes, if they won't do something simple like making sure the MOST REQUESTED FEATURE EVER is available as well.

Topic Closed

This topic has been closed to new replies.

About this Topic