I have confirmed with my host that mod_rewrite is enabled. I want incoming requests to be rewritten to be passed to a mod_rewrite.php file in my root directory. Mod_rewrite does not seem to be working at all. Here is the code in my .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/(.*)$ /mod_rewrite.php?vpath=$1 [L,QSA]
</IfModule>
Here's what you need to do:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)/?$ mod_rewrite.php?vpath=$1 [L,QSA,NC]
</IfModule>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With