Test Drive Your WordPress Website With A WordPress Sandbox

4.31/5 (13)

How To Install a WordPress Sandbox

Install a WordPress Sandbox for your blog and play it safe

Many writers now use a self-hosted WordPress blog to help in the promotion of their books or as a way to earn extra income from content marketing and advertising.

WordPress is a very powerful blogging platform, but because of the vast number of useful features, themes and plugins that are available, it does require some basic website management skills to keep it operating efficiently.

For those who use WordPress, but not the free WordPress version, you will know that it is a nervous time when it comes to upgrading to a new WordPress version and when plugins and themes need updating.

Everything is working fine, and then one WordPress plugin update can cause a conflict, and your site goes down or hangs in maintenance mode.

If a number of plugins have been updated at the same time, it can sometimes take hours to find out where the problem lies.

Even minor updates to versions of WordPress can cause problems if plugins that were working well before are not compatible with the new upgrade.

To guard against most of these issues that can arise, a backup is always necessary. Luckily most web hosts offer a backup on your server as part of your hosting account.

However, even this remedy can be time-consuming, and during the time it takes you to do a restore, your site is down. If you have a server issue with your host, you may not even be able to access your backups.

A much better and more secure way is to use a dedicated WordPress backup tool such as Updraft Plus because your backups can be stored remotely on either your computer or on Google Drive or Dropbox.

 

Avoid disasters by testing new versions and plugins in your Sandbox

Creating a sandbox is a much better way to avoid all of these problems. It is well worth the investment of the hour or two that will save you hours and hours of problems and give you total peace of mind.

Install a second WordPress site on your host server, and use it as a testing environment, or playground if you like.

You can experiment, test new WordPress themes and theme options, check WordPress upgrades, try a new WordPress plugin and avoid any possible plugin conflicts, before making any changes to your live site.

You can test drive with a different WordPress theme, new plugins and make any number of changes. Then when you are sure everything works, make the changes or upgrades, step by step, to your live site, knowing everything will work perfectly.

 

A Sandbox is also the best way to experiment with your site design or try new themes and plugins

To create a Sandbox directory, do a WordPress install on your web hosting server in a sub-folder.

Typically this will be ‘mysite.com/wordpress’. Then make the changes to your wp config.php to rename your new site to something like Test Blog, or My Blog Lab.

Once your newly created sandbox is up and running, install the plugins and themes your live site is using, and make the changes to your options and admin panel, so your new sandbox site looks and behaves almost the same as your live site.

Then export some posts from your live site, and import them into your Sandbox site. Check your wp-contents folder to see if you have everything you need.

One Big Tip! Go to the Settings Tab and then Reading and tick the box,  Discourage search engines from indexing this site.

This will stop search engines from indexing your test site. Also, don’t install a sitemap, and if you want, you can also add a robots.txt file to block indexing.

Now you are ready to start test driving everything, experiment, upgrade and even make mistakes before you make changes to your live site.

If you manage to blow up your Sandbox, don’t worry, because you will have discovered a problem before it had a chance to do the same to your live site.

Go back to your Updraft backup, restore, and try again.

 

Learn, experiment and have fun with a WordPress

With your new site for experimenting, you will save yourself all the worry about updating your live site.

If you have reliable backups for both sites, you will be totally secure.

A Sandbox is the best way to learn how to use more advanced functions. If you are trying to learn CSS or how to write PHP code, it is the best place to experiment and try out your new skills.

 

Setting up a new site

Another great use is when you want to set up a new site or perhaps an online store. Build your site starting with your front page. Try choosing a theme, and see how it works. If you are not happy try another free theme.

Don’t start creating any pages or blog posts until you are happy with your WordPress theme and all its functions and options.

Then you can add your about page, contact form and any other basic pages you think you will need.

Once you are happy with your new site, you can copy it to its new domain name on your WordPress hosting.

I have used my sandbox for years now, and it has helped me to learn so many WordPress skills. In doing so it has also saved me a lot of money, as I don’t need to pay a developer anywhere near as often as when I first started blogging.

If you have more than one live WordPress site, there is no reason why you can’t have two or three Sandboxes. I added another recently, and I am using it to develop a new website.

Any site using WordPress should have at least one testing environment, if only for safety and security.

 

Further reading: How To Manage Contact Form And Spam Comments On Your Site

 

How helpful was this article for you?

1 2 3 4 5

Derek Haines

Derek Haines is an Australian author, living in Switzerland.

Add Your Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.