Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

How to Move a Live WordPress Site to Local Server

Spread the Knowledge

Why we are discussing on this topic because we are here to tell you when any developer of WordPress wants to test new themes, plugins, or another development testing. then he creates a local setup of any WordPress site. so let’s look below how to do this?

first of all, you have to take a backup of WordPress site and create a database for it in your localhost/phpmyadmin. Click on New button for creating a new database ( eg. aiaviation ) and put a name for database and click on create button.

Step 2: then take database backup and import in the database and click on Go button.

Step 3: put the backup file in your xampp location (eg.: C:\xampp\htdocs)

file location in xampp

Step 4: Then go to your backup file location and open wp-config.php file in editor

wp-config.php file

Step 5: Then change to your wp-config file like- ‘DB_NAME’, ‘DB_USER’, ‘DB_PASSWORD’, ‘DB_HOST’ and add below two lines to your wp-config file
define(‘WP_HOME’,’http://aiacademy/’);
define(‘WP_SITEURL’,’http://aiacademy/’);

Step 6: now go to your database and select your options table and change siteurl & home column url

mooju_options table column editing

Step 7: Now you have to edit your virtual host file httpd-vhosts.conf and hosts file. for this, you have to open notepad as administrator.

apache vhosts file location
hosts file location

Step 8: add this lines to hosts file
127.0.0.1 aiacademy
::1 aiacademy

Step 9: after that add below lines to httpd-vhosts.conf and change DocumentRoot, ErrorLog, CustomLog and Directory location with your site name and location.

after all above setup your site will be available in localhost and you can make changes. if you find any bug then you check out bugs on stackoverflow and wordpress support page .

Thanks for supporting us and if you have any question then comment us we will give you the best solution to this topic.

Chandan Kumar
Follow Me: