I’m following a tutorial and this code was pulled from the accompanying files. It’s cut/pasted word for word, but it’s not working in my WAMP environment and I can’t figure out why. Any thoughts?
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php/$1
Thanks. That worked. I’m confused though. I’ve ran several other .htaccess files successfully from the same environment. It’s strange why those would’ve worked without mod_rewrite being enabled.
.htaccess files in general when mod_rewrite is not enabled. It’s just that Rewrite directives don’t work
Great. Thanks for the clarification.