Removing the index.php prefix on wampserver windows, is it possible?

1

Is it possible to get the index.php prefix in my local projects using wampserver?

    
asked by anonymous 01.02.2016 / 14:46

1 answer

1

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.

    
01.02.2016 / 15:48