"#LoadModule rewrite_module modules/mod_rewrite.so"
"LoadModule rewrite_module modules/mod_rewrite.so"
(in three different spots)
But it still isn't working.
This is an example of what I'm trying to mod_rewrite in .htaccess
- Code: Select all
RewriteRule ^register(|/)$ /register.php
RewriteRule ^register_submit(|/)$ /register.php?doSubmit
RewriteRule ^register/cancel(|/)$ /register-cancel.php
RewriteRule ^register/undefined(|/)$ /index.php
But when I go to "http://www.website.com/register" it says 404 ERROR, but if I go to "http://www.website.com/register.php" it works... but when it has no file extension it doesn't work.