How to Transfer Your WordPress Site to Godaddy.com
So you’ve decided to make the big move to Godaddy.com? Congrats! Your hard work will be rewarded with all the perks this reputable domain registration company has to offer. Let’s take a look at how to transfer your WordPress site to Godaddy.com.
Get A Login Page
The first and most important step to taking your WordPress site into the Godaddy.com fold is getting a login page set up. You’ll want a simple sign-in box that allows for username and password entry, as well as button(s) for forgot password and login.
Getting a login page set up for testing is super easy. You can use any of the free plugins available for WordPress. I’d recommend Blueimpotent for this particular purpose. Just remember to change the URL for the plugin to reflect your actual domain name.
Automatic Domain Provisioning
Along with the login page, you’ll also want automatic provisioning of a new domain for your WordPress site. You can use a free auto-dns service like Automatic (https://automatic.com) or (https://mydns.info) to get this feature set up.
Install The WP-CLI
As we’ve established, getting a login page set up is rather easy. With that out of the way, you can move onto the next step which is installing the WP-CLI. If you’ve never heard of the WP-CLI, it’s time you should have. The WP-CLI is hands-down the best WordPress command line interface (CLI) out there. It offers a ton of functionality that can help you manage and grow your WordPress site. Just to name a few: create posts, import/export your content, install WordPress plugins, etc.
To get started with the WP-CLI, you’ll first need to have WordPress installed on your web server. If you’re just installing WordPress for the first time on a dedicated domain name, you’ll want to use the WordPress installer from the WordPress.org site. It’s the most convenient way to get WordPress up and running on your server. Just make sure you pick a dedicated IP address when setting up your server. This will help prevent any issues with duplicate domain names.
Configure Your Database And Set Up Custom Tables
Once you have WordPress and the WP-CLI installed, it’s time to set up your database and customize your tables. The following steps will guide you through the configuration of your WordPress database:
Create A User With Admin Access
The first step is to create a user with admin access. This user will be the one responsible for managing all the content that appears on your WordPress site. Your choice of a username and password for this user will influence how easy it will be for them to administer your site. Keep in mind that WordPress has a built-in default user called ‘administrator’ with no password. So in the event that you use this account, you’ll want to change the password immediately.
To create a new user with admin access, navigate to the WordPress dashboard and click on Users > Add New.
From here you can select an existing user from your WordPress site, or create a new user. You’ll want to enter a username (this should be different from your site’s domain name to prevent any conflicts), a password, and the email address associated with your account. Make sure to select the ‘Administrator’ role, and then click on the ‘Set Up New User’ button.
Once this is done, you can click on the username you assigned to this role to log in using the WP-CLI. Make sure to change the password you entered for this user immediately.
Configure The Database To Use The MySQL Binary And Sequel Driver
The next step is to configure your database to use the MySQL binary and Sequel driver. This is simply connecting to your database in a preferred way. You can use any of the many MySQL servers available for free download. Select the MySQL server you downloaded and unzipped to your computer. Now navigate to WPCONFIG > Databases > MySQL > (your database name)
The last step is to click on the Options > button to open up the MySQL configuration file in text editor. You’ll see a number of lines of code. Just below these lines you’ll see the name of the driver. Change the driver to mysql_native_password and then press Ctrl+X to exit the text editor.
You’ll now be prompted to replace the contents of your config.inc.php file with the content you just edited. Hit Enter to continue.
Once you’ve made the change, you can test the connection by selecting Configure > Database > Test Query.
The last step before moving onto the next step is to flush the caches of your web browser (usually via Ctrl+F5 on Windows, or Cmd+R on Mac). This will ensure that your web browser has all the most recent information regarding your WordPress site.
Enable XML RPC Service
Now that your database is configured, it’s time to enable XML RPC service for WordPress. This will allow you to remotely access your WordPress dashboard from another location (eg: mobile device or desktop computer). To enable this service, navigate to the WordPress dashboard, and click on Settings > WP-CLI > XML-RPC.
This will bring you to a page where you can select an API key (if you don’t know what an API key is, it’s time you should have). Make sure to keep this key in a safe place as you’ll need it in the next step.
Set Up The wp-config File
The final step before you can move onto the next step is to set up a wp-config file. This is very similar to the config.inc.php file discussed earlier in this guide. The primary difference is in the first line which should read ‘[SiteName]:’ instead of ‘[Blog article]:’. You can leave the rest of the file as it is.
Now that you’ve set up a wp-config file, it’s time to take a minute to test out the WP-CLI. Navigate to wp-admin > Tools > WP-CLI > (hit enter)
You’ll see a short line of code followed by a big ol’ help button. This is all you need to confirm that the WP-CLI is working correctly. If you ever needed help using the WP-CLI, this is where you’ll find it. Just click on the help button and it will bring up a list of WP-CLI commands. You can also click directly on a command to get an explanation.
Move Your WordPress Site To The Subdomain you chose
Now that you have all the components necessary to move your WordPress site to your new domain name, it’s time to do so. The first step is to navigate to the WordPress dashboard and click on Settings > General > Change Hostname. You’ll see a field where you can enter the new domain name.
Once you’ve entered the new domain name, click on Update Button to save changes.
This is just a simple step and something you should do once you’ve successfully transferred your WordPress site to your new domain. The update will not take long to process, but it’s important you do it before moving onto the next step.
Use The FTP Client To Download The WordPress Files
The last step in the transfer process is to use the FTP client you’ve set up (I’d recommend FileZilla for Windows, or connect to Server for Mac) to download all the WordPress files from your old domain to your new one.
In the event that you’re using a Linux-based server, you can use wget or curl to accomplish this task.
Once you’ve downloaded all the WordPress files, it’s time to import all the content from your old domain over to your new one. For this step, you’ll want to use the import tool located inside the WordPress dashboard.