Page 1 of 1

mod_rewrite help

Posted: Thu May 03, 2007 12:35 am
by invisibled
hey everybody, i'm fairly new to word press, but have been developing in php for 2 years. I've recently been playing with mod_rewrite but it never works (in wordpress or outside of it). I've followed many tutorials online and it still doesn't work. Now that i installed WP and tried to get it working VIA the admin section it still won't work. i have wp_list_pages listing the pages and when i click on them it just says page not found. Oh yeah, and I'm doing this all on localhost. my htaccess file is in the root directory of my website and has this in it.

Code: Select all

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /invisibledesign/wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /invisibledesign/wordpress/index.php [L]
</IfModule>
since it doesn't work in any sites I've tried or from wordpress, i think it must be something with my configuration of my server. in my httpd.config these two things are enabled.

Code: Select all

LoadModule rewrite_module     libexec/httpd/mod_rewrite.so
AddModule mod_rewrite.c
is there anything i have to change in the httpd.config. Can anybody throw ideas at me, to get it working. Even if there completely noob ideas, i wouldn't rule anything out lol.