Test Drive Your WordPress Website With A WordPress Sandbox

How To Install a WordPress Sandbox

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 and basic security knowledge to keep it operating efficiently.

For those who use a self-hosted WordPress site, not the free WordPress.com 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 top quality 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 WordPress 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 existing WordPress site.

You can test drive with a different WordPress theme, new plugins, and make any number of changes to your site content.

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.

Then 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-config and wp-contents folder to see if you have everything you need such as post and featured images.

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 WordPress test site. Also, remove any affiliate links you have, and don’t install an XML sitemap. 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.

If you strike trouble, 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.

When you learn anything new, you will make a few mistakes. Having a sandbox lets you learn by doing.

When you are certain that any changes or modifications you have made work correctly, you can then add them to your live site with confidence.


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. I don’t need to pay a developer anywhere near as often as when I first started blogging.

There is no reason why you can’t have two or three Sandboxes should you have more than one live site.

I added another recently, and I am using it to develop a new website.

If you are using WordPress, you should have at least one testing environment, if only for safety and security.

But the benefit of being able to learn and improve your WordPress skills is the biggest bonus.

Derek Haines

A Cambridge CELTA English teacher and author with a passion for writing and all forms of publishing. My days are spent teaching English and writing, as well as testing and taming new technology.

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.