- How to Clone Whole Wordpress Site With Database When You Only Have Ftp
I came across a good idea that can save your time so I thought it would be great to share.
What i had
I had one website’s FTP only which is the WordPress website. and I was waiting to reply for 2 days.
I need to clone the whole website. in my local environment with the database installed.
After searching so many articles, found a simple tool call adminer i know many of us know and used this tool.
have downloaded its PHP file. what I have done is, have uploaded that
adminer-4.1.2.php and renamed it to adminer.php to the document root.
then extract credentials from the
wp-config.php for the MYSQL.
simply hit the URL _ https://your-site/adminer.php
then entered credentials extracted from the
wp-config.php then exported the DB from its GUI.
files I have downloaded from the FTP and Database from the adminer. that’s all.
🎉 The client replied after 2 days found he was on vacation 😄