How to move WordPress to another hosting

  1. Create backup of files and database and put it on your computer.
  2. Go to new hosting panel.
  3. Create new database user and new database. Import tables to new database.
  4. Upload files to www folder or public-html folder via FTP or in cPanel
  5. Open wp-config.txt and make changes
<!-- wp:paragraph -->
<p>// ** MySQL settings - You can get this info from your web host ** //<br>/** The name of the database for WordPress */<br>define( 'DB_NAME', '***' );</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>/** MySQL database username */<br>define( 'DB_USER', '***' );</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>/** MySQL database password */<br>define( 'DB_PASSWORD', '***' );</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>/** MySQL hostname */<br>define( 'DB_HOST', 'localhost' );</p>
<!-- /wp:paragraph -->

6. Go to website and if everything is correct, website will appear.

7. Go to phpMyAdmin and make changes in wp_options table.

Now everything is ok. 🙂

(Visited 5 times, 1 visits today)

Leave a comment

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