mod_rewrite questions
Posted: Thu May 03, 2007 12:29 am
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.
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.
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.
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>Code: Select all
LoadModule rewrite_module libexec/httpd/mod_rewrite.so
AddModule mod_rewrite.c