WordPress Manual Migration

Abdul Rafay
2 min readFeb 26, 2020

--

In this article i will explain how to clone WordPress website to local server or to other remote server/directory.

Step#1 Clone repository
- Clone the repository from bash
- Compress and download manually to local directory and unzip

Step#2 Export Database
- Export MySQL database from phpmyadmin or other MySQL client, make sure to export both tables and data.

Step#3 Import Database
- Import MySQL script file to selected database, make sure to disable option “stop on errors in batch mode”

Step#4 Create Virtual-host/Alias (for local deployment)
- Create virtualhost or Alias on directory
- Test alias or virtualhost url in browser to confirm

Step#5 Configure attributes in the database
- Update URL/Host IP in table wp_options with key named
1. home
2. siteurl

Step#6 Configure Database Credentials
- Update database credentials in wp-config.php and update fields.
1. DB_NAME
2. DB_USER
3. DB_PASSWORD
4. DB_HOST

Step#7 Access website By URL or IP
- Try to access the site by typing the URL or Host IP

The basic migration is completed for further question and inquiries please write in comment section.
Thank you

Powered By
Aalogics.com
AALOGICS : Web & Mobile Development | Magento development company

--

--

Abdul Rafay

MS CS — Software Engineer @Systems Limited with expertise in PHP/Python, worked on popular CMS and frameworks like Magento/Wordpress/Codeigniter/Odoo.