Spread the love


Step 1: We need all the files , database from hostinger hosting panel to be imported.
when you login in to hostinger account. Click on the home and then manage and then choose the domain name from left side bar tab and after that click on files from dasboard left sidebar navbar option.click on file manager from drop down menu.
A new page called file manager open ups. click on access files from your website name. a one more new page open ups with listing of files.
Step 2: click on ctrl+a option and right click then click copy.in public_html
right click and click archive . a archive name xmlrpc.php.zip appears. Download it by right click and using download option from context menu.
Step 3: Get the database. from the left hand sidebar select databases and click phpmyadmin. Click on enter phpmyadmin option. a new page open ups. click
on export option on the top navbar. click on export to download.
Step 4: Now after installing xampp, Click start under action of apache and mysql
module. paste the downloaded archive into htdocs folder whose default location is
C:\xampp\htdocs and extract it in this folder in choose select destination and extracted files.
refer https://stackoverflow.com/questions/18300377/how-to-solve-error-apache-shutdown-unexpectedly for xampp port resolution.
now go to localhost:8080 or 80 as setup by you.
Step 5: open exported database in vs code , replace your domain name with localhost find and replace option.create a database with same name
and click import sql.
Step 6: open the wp-config.php change the username to root and password field to
be left blank. if you want to password protect it,go to mysql database and search for user record and check the password of root.