+92 308 5039935
Get a Free Quote
+92 308 5039935

How to Move WordPress Site Manually

How to Move WordPress Site Manually

Hi, in this post i am going to show you how to move your WordPress site manually. Its very easy and can be moved using the following simple steps.

 

Backup/Download:

  1. Download your WordPress folders and files via FTP. (wp-admin, wp-content etc.)
  2. Login to your cPanel and go to phpMyAdmin and click on your WordPress database name.
  3. Click on Export tab.
  4. Click on Go button to start download.

 

Upload/Move:

  1. Open wp-config.php in text/html editor and note/write down DB_NAME (Database Name), DB_USER (Database User) and DB_PASSWORD (Database Password).
  2. Now upload your WordPress files via FTP to your new cPanel.
  3. Login to your new cPanel and create MySQL Database. (For creating databases check out our post how to create mysql database.)
  4. Now go to phpMyAdmin, select the database you’ve created.
  5. Now simply drag and drop the database .sql file.
  6. Point domain to your new Hosting cPanel and your new site will be live after the DNS is resolved.

 

Moving to New Domain:

If you are moving to a new hosting and new domain then you will have to do the following extra steps.

  1. Navigate to phpMyAdmin and click on database name.
  2. Find prefix_options.
  3. Edit siteurl and home, enter your new domain url and click Go to save.

Prefix can be anything, I have added prefix_ just for example. You can find the prefix in wp-config.php file.

 

Moving WordPress Multisite:

If you are moving Multisite WordPress installation then method will be all same. The only difference is that you will have to search and edit prefix_options for each site. For example if you have 3 sites then you will have prefix_options, prefix_2_options and prefix_3_options in your database.

Hello, I am a web designer and developer working since 2013. I build WordPress themes, write and extend WordPress plugins, edit WordPress themes and plugins in accordance to customer needs and play games when free ;-)
Related Post
Minify CSS
How to minify CSS in WordPress Theme or Plugin

Minification is used to remove unnecessary elements, e.g: extra spaces. There are a lot of php scripts to minify or compress the css but we are going to use a simple function  here. It is usually used for inline css in WordPress.

Read more
How to add inline CSS in WPBakery Page Builder Element

WPBakery Page Builder (Formerly Visual Composer) is one of the best drag and drop front-end/back-end builder. You can easily apply inline css using style attribute but what if you need to apply css to a pseudo elements?

Read more
How to Auto Load Files in WordPress?

You may need to auto load files in WordPress themes or plugins. But I wouldn’t recommend it if you are creating theme to sell on themeforest. They didn’t accepted themes with this auto load function few years ago when we used

Read more

Leave a Reply

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