httpd rewriting for permalinks
-
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=5This 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.
- The topic ‘httpd rewriting for permalinks’ is closed to new replies.