Forums

Join
bbPress Support ForumsTroubleshootingPermalinks In Windows IIS

Info

Permalinks In Windows IIS

  1. hi fellows,
    iam running this blog http://www.embtrans.com , my hosting is running on Windows IIS and it doesnt allow mod_rewrite functionality.
    i have managed to configure the pretty permalinks for WordPress using custom 404. here is its code


    <?php

    $qs = $_SERVER['QUERY_STRING'];

    $_SERVER['REQUEST_URI'] = substr($qs, strpos($qs, ':80')+3);

    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];

    include('index.php');

    ?>

    i would like to know if there is some custom 404 code for bbpress on Windows IIS to make pretty permalinks work.

    thanks in advance

  2. Hi Mujtaba,

    I don't know about a custom 404 but have you looked into the ISAPI ReWrite module? It provides mod_rewrite functionality for IIS. Works great.

    http://www.isapirewrite.com/

  3. You must log in to post.