Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter klinder

    (@klinder)

    Just my luck, found another site without url rewriting and found out what the proper url is and wrote my own Rewrite rule.

    For those interested in what a URL Rewrite URL should look on a windows install:

    RewriteRule /about/?(.*) /index.php?pagename=about [I,U,O]

    This will give the ability for a custom page to be created named “about” that will use permalinks.

    I am having the same problem. I just did a fresh install of WordPress but can’t get comments (even the example one that comes with the fresh install) or the comment form to display. I have downloaded, installed and tried various other themes but with no luck. Am I missing something? Anyone have any ideas or suggestions?

    I am using IIS and have gotten permalinks working. This is the only major thing left (well other than the inability to do file editing with the admin – but that’s minor and probably due to my hosting being on windows) and could really use some help or suggestions.

    Thread Starter klinder

    (@klinder)

    That is a pretty good idea. I’m also just starting to learn PHP as well as the WordPress API. I’m hoping someone will have already done this or perhaps be willing to help out. I would imagine it wouldn’t be that hard. Maybe I’ll give it a try and hack out some code.
    Another thought, what would happen if someone clicked on a link and really did get a 404 error. Would the above mentioned script be able to handle that case? I’m thinking it would as long as it used the rewrite expressions.
    Anyways, if someone has got some experience and/or the desire to work on this, I’d be glad to help…let me know.

    Thread Starter klinder

    (@klinder)

    Yeah I tried this and it gives me an error. (tries to find the directory: index.php\blah\year\, etc)
    I guess I’m just confused if the rewrite rules I’m being told to enter (by WordPress), are really those that I need to have my ISP enter for IIS. Does anyone know or have any experience with rewrite rules on IIS? Are those above or the new ones below need to be tweaked to work on ISS?
    /index.php/archives/%year%/%monthnum%/%day%/%postname%/
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php/archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^index.php/archives/category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^index.php/archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^index.php/archives/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]

Viewing 4 replies - 1 through 4 (of 4 total)