How to change xampp localhost to wordpress folder

Problem ->

When you install wordpress on XAMPP you might have to access your site using  “http://localhost/wordpress/ ” url but if you want to access it using http://localhost then you can follow below instructions.

Solution ->

1> go to xampp control panel -> click on “config” in front of apache service -> then click on “https.conf”

2> search for “DocumentRoot” in “httpd.conf”

3> change document root path to the wordpress directory.

, , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *