![]() ![]() You’ll only need 20-30 minutes or so, but if you have a lot of traffic, you may not want your visitors seeing the transition stage. This is a good time to turn on a Maintenance Mode plugin and activate it on your live site. Step Nine: Move the customized child theme to your live site. If you upload any theme-specific images, be sure to place them in the theme’s images folder so they’ll come over when you move the theme in the next step. – I usually make a list – so you can change them to the correct URL later. Be mindful of any hard-coded URLs in your widget areas, stylesheet, etc. Once you’re logged in, it’s time to install Genesis and your child theme, then you can start customizing. I also recommend blocking all traffic via. ![]() Now that you’ve done all the hard stuff, you should be able to access your test site at /wp-login.php – your username and password will be the same as they are on your live site.Īn important step: Be sure to check the box in Settings > Reading to tell search engines not to index the test site. Otherwise, if Google’s bots happened to crawl the subdomain, your live site could be penalized for duplicate content. This will tell WordPress which database to use for your subdomain. Use the database name, user, and password from Step Five. This is the area you’ll want to change (and don’t worry – that isn’t my real wp-config file): In your subdomain’s folder, find wp-config.php and open it with a text editor. Once both of those are changed, you can rejoice – you’re all done with phpMyAdmin! Step Seven: Edit wp-config.php to reflect the changes. Once you’ve changed it, scroll to the bottom and use the arrows and/or the dropdown to go to page 2, where you’ll change your home URL as well. The very first line on the right side of the screen is your site’s URL – it needs to be edited so that it shows the subdomain URL instead. Over on the left, select your test database name, then select wp_options from the list of tables. Once you’ve imported, you’ll need to change 2 items in the database to make it point to your subdomain. Choose the Import link at the top to upload the. Select it, and you’ll see that there are no tables. Step Six: Import your site’s database to your test database using phpMyAdmin.īack in the phpMyAdmin screen (you may need to refresh) you’ll see your test database in the list on the left. Check the one at the top to allow all privileges (which should check all the boxes) and click the button to save. Use the password generator to create a secure password, and be sure to copy and paste it somewhere since we’ll need it in a bit.įinally, you’ll get a table with a bunch of checkboxes to give the user permissions. Again, it’s easiest to choose the same thing. Next you’ll be prompted to create a database user. I recommend naming this the same thing (or close) to your subdomain so you can find it easily later. You’ll be prompted to choose a database name. Step Five: Create a new database and user.īack in your regular CPanel screen, click on the MySQL Database Wizard icon. You don’t even have to choose any options – just hit the Go button and it should download automatically. sql file for your site’s database onto your computer. Never fear! Look for the Export link at the top of the screen and use it to download the. On the next screen, choose a name and which domain the subdomain will attach to (click any image to view larger): ![]() If your host offers CPanel, it’s pretty easy to set up a subdomain. Step Two: Set up a subdomain on your hosting account. ![]() I usually take screenshots of each widget’s settings, as well as pasting the contents of any text widgets into a document on my computer. I also recommend making a list of all the widgets on your live site, in order, in case they get wonky when you move your new theme over. It’ll just take a few minutes and I’ll be right here when you get back. Go make a backup and put it somewhere safe. Since this tutorial involves manipulating site files and your WordPress database, there is no excuse for skipping this step! Failure to make a backup could cause you to break or lose your existing site. I use (and highly recommend) BlogVault, but any backup solution will do. How to Create a Test Site Step One: Make a backup of your site and database. About 45 minutes to concentrate so you don’t break anything □.The Regenerate Thumbnails plugin and a Maintenance Mode plugin (used on your live site while you move the new child theme over).The Genesis framework and a child theme.Access to phpMyAdmin via your web host’s control panel. ![]()
0 Comments
Leave a Reply. |