How to Solve overwrite index.php in windows wampserver ?

By Hardik Savani | January 23, 2016 | Category : PHP Wampserver Installation

Many time you have face a problem in windows wampserver or virtualhost of index.php file overwrite. i also fetch that problem like:


In this url you can see index.php wtite in url, but URL must be without index.php. so if you are using windows wampserver then you can easily solve out this problem by folowing step:

1. Open File : C:\wamp\bin\apache\Apache2.4.4\conf\httpd.conf

2. Find : #LoadModule rewrite_module modules/ and

Then, Just Change, Only remove ‘#’ sign.

#LoadModule rewrite_module modules/


LoadModule rewrite_module modules/

3.Restart: restart your wampserver.

At last you can open without index.php file like:


Try this.........

Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.