• DrReaper

    (@drreaper)


    Hi guys and gals,
    I am trying to figure out permalinks! Ouch…
    I have a windows 2003 server, the start of my problems. Mod rewrite seems much better but this is the world I live in. My server host game me a blank httpd.ini and it’s up to me to make it work. I just want to blog.

    This is what works:
    https://gamersnews.com/news/?p=5

    This is what i want to work:
    https://gamersnews.com/news/rush-la-villa-strangiato/

    I am not sure how to write the code to make it happen.

    This is what I have in my httpd.ini and I am sure it’s wrong.

    RewriteEngine on
    RewriteBase /
    
    #Exclude javascripts/stylesheets/images etc from rewriting
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    #Perform rewriting
    RewriteRule ^(.*)$ index.php?p=$1 [NC,L]

    Any help would be great.

Viewing 4 replies - 16 through 19 (of 19 total)
  • arkgroup

    (@arkgroup)

    Create b.html file, place it in the root folder of your website and insert any text there like:
    testing isapi rewrite

    Insert such lines into your httpd.ini
    RewriteEngine On
    RewriteRule ^a.html$ /b.html [L]

    Try to access: https://your-domain.com/a.html

    Thread Starter DrReaper

    (@drreaper)

    It failed. I am going to open a ticket and see what my ISP says.

    Thread Starter DrReaper

    (@drreaper)

    When setting up your rules for wordpress keep in mind that we use Isapi_Rewrite 2.0 from Helicon, the rules are different from those used in 3.0 which are more like Apache rewrites.

    [ISAPI_Rewrite] RewriteRule /a.html /b.html [L]

    The above code works. Now I need to apply it to wordpress. I am so clueless.

    arkgroup

    (@arkgroup)

    Yes, it looks like ISAPI_Rewrite 2 has different syntax:
    https://www.isapirewrite.com/docs/#RegexSynt

    They to ask the same question at their forum. I’ve searched and yet have not found any common solution for wordress and ISAPI_Rewrite 2.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘httpd rewriting for permalinks’ is closed to new replies.