Is it possible to get the index.php
prefix in my local projects using wampserver?
Yes, it is possible.
You need to change .htaccess
and check that mod_rewrite
is active.
In htaccess you put it like this:
RewriteEngine On
RewriteRule ^(.*)$ index.php/$1
Remembering that since you are using wamp
, you will probably have to enable mod_rewrite
of your apache.
To enable mod_rewrite, use the instructions as below:
After that, I think you should also restart your wamp server.