Fork me on GitHub

Isapi Rewrite Rule for postnuke - solve search engine probs  Bottom

  • Running IIS6 on Windows 2003

    I have a typical postnuke website and I'm trying to get rid of the? marks in my urls and make them look normal.
    If anyone can give me a hand with the syntax of Isapi Rewrite, that would be great. I downloaded the free version and it installed great but, I just cannot get the syntax to work......

    Anyway, with Postnuke, the URL's look like:

    www.domainname.com/modules.php?op=modload&name=pnphpbb2&file=index

    another one might be:

    www.domainname.com/modules.php?op=modload&name=pnphpbb2&file=index

    Thinking the best way is to write an ISAPI REWRITE rule so the link looks like:

    www.domainname.com/modules/googlenews.php
    and
    www.domainname.com/modules/pnphpbb2.php

    or something similar? From what I hear, search engines do not like the "?" in weblinks so none of my weblinks will be followed.

    Thanks

    Steve
  • I understand that Google can handle Query strings fine provided they're not too long (PostNuke's are rather long, they're not very memorable or good for posting direct links in forums), what gives them a headache is the Postnuke site ID POSTNUKESID appended for non-logged users, such as their bots. They can be turned off in the PHP.ini file. Search the forums, can't remember the specific variable.

    IIS Rewrite is the closest to Apache's mod_rewrite module as far as I know, it uses the exact same syntax, so the pre-existing rewrite rules in ShortURL-enabled themes may work unmodified. But it's commercial software produced by Qwerksoft:
    http://www.qwerksoft.com/products/iisrewrite/

    Their site says currently on special for $US99, normally $199.

    Isapi Rewrite Full (http://www.isapirewrite.com/) might be just as good now, can't say, don't use IIS. Their free Lite version might do you just fine, which is a price that's hard to beat.
    A quick look at their online documentation suggests it's also a close copy of Apache's module, so try the Lite version (provided you don't use Proxies or any of the other limitation of the Lite version)
  • Hello Steve
    Did you manage to figure that thing out. Even I am using the same config as your are. I am not very much intrested in using iisrewrite.
    I have read isapi documents but still i am unable to make it work. I hope you have figured out how to make it work.

    Thanx
    Saf

This list is based on users active over the last 60 minutes.