skip to Main Content

Transfer WordPress site from one server to another (steps)

  • transfer files
  • setup permissions as follows
chown -R www-data:www-data /var/www/html
find /var/www/html/ -type f -exec chmod 664 {} +
find /var/www/html/ -type d -exec chmod 755 {} +
  • transfer database
  • confirm that wp-config.php hostname and database names are correct
  • edit wp_options table and change siteurl and home to match the new server domain

 

This Post Has 0 Comments

Leave a Reply

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



Back To Top