3 Comments
  1. Hi! In most cases that’s absolutely acceptable and fine. When you need to switch the domain just update these 2 parameters in your wp-config.php: define( ‘WP_HOME’, ‘http://yoursiteurl.com’ );
    define( ‘WP_SITEURL’, ‘http://yoursiteurl.com’ ); or via wp-admin interface. There might be some cases when this won’t work, for instance, if you have hard codes URLs for images or attachments. In that case one of the possible options is to dump your database to a file using mysqldump and replace all occurrences of the old domain using a text editor. Then you can import the new dump file and your site will be using the updated domain.

  2. It’s fine but it’s a ball ache. I used to do this on subdomains of my dev server but uploading files is boring and pointless.
    Building locally is faster, easier and doesn’t have any of the issues of pages being accidentally indexed by Google etc.

    Use LocalWP, it will make sense.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer