WordPress & WooCommerce: Localhost, Staging and production environments and how to sync them without losing data

I recommend to work with fixtures on localhost and development environments. Fixtures definition from Symfony documentation: Fixtures are used to load a “fake” set of data into a database that can then be used for testing or to help give you some interesting data while you’re developing your application. To work with fixtures on WordPress … Read more

Cannot complete migration on LAMP

I was able to solve the problem by adding these two lines to /var/www/my-wp-site.com/public_html/wp-config.php: define( ‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] ); define( ‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] );