Get a Free Quote

How to Create a WordPress Staging Site: 4 Methods

Setting up a WordPress staging site is the single best habit for keeping your live website stable, because it gives you a private copy where you can test updates, new plugins, and design changes before any of it reaches real visitors. Instead of gambling on your live site every time you update something, you try it safely first, then push only the finished, working result to live.

This guide covers four reliable ways to create a WordPress staging site, from a one click host feature to a plugin, a manual subdomain, and a local copy on your computer, plus how to keep staging out of Google and how to push changes live without losing data. If you would rather have staging set up and updates handled for you, get a free quote and we will take care of it.

What a Staging Site Is

A WordPress staging site is a private copy of your live website where you can make changes, test them, and be sure everything works before those changes reach your real visitors. Think of it as a rehearsal space. The live site is the performance, seen by customers and search engines, and the staging site is the room out back where you try things out, break them, fix them, and only bring the finished result on stage. Nothing you do on staging affects the live site until you deliberately push it there.

The reason a WordPress staging site matters so much is that WordPress is made of many moving parts: the core software, a theme, and often a dozen or more plugins, all updated on their own schedules. Any update, new plugin, or design change carries a small chance of clashing with something else and breaking a page, or worse, the whole site. Testing on a copy first means that when a clash happens, it happens somewhere private where no customer sees it and no sale is lost. If you would rather have staging set up and managed for you, you can get a free quote and we will handle it.

Staging versus a backup

People sometimes confuse the two, but they do different jobs. A backup is a saved copy you restore after something goes wrong. Staging is where you prevent things from going wrong in the first place, by testing before you touch the live site. You want both: staging to test changes safely, and backups as the safety net if something slips through anyway. Our guide on how to back up a WordPress website covers the backup half of that pair.

What lives on a staging copy

A proper staging site is a full copy, not just a copy of your pages. It includes your themes and plugins exactly as they are on live, your settings, and a copy of the database that holds your posts, pages, users, and options. That completeness is the point. Because staging mirrors live, a change that works on staging is very likely to work on live too, since the two share the same ingredients. A partial copy, missing a plugin or running different settings, would give you false confidence, so the good staging methods take care to copy everything.

Staging, development, and production

You will sometimes hear three words used together: development, staging, and production. Production is just another name for your live site, the one the public sees. Development is where a developer builds new things, often on their own computer. Staging sits in between, a server based copy that closely matches production, used to test finished work before it goes live. Small sites often collapse these into just two, a live site and a single staging copy, which is perfectly fine. Larger projects keep all three separate. The principle is the same at any size: never test on the site your customers are using.

Thinking about a new WordPress website?Get a free consultation and a fixed-scope quote. A senior engineer replies within 24 hours. No obligation.
Get a Free Quote

Why You Need One

If your website matters to your business, staging is one of those habits that feels optional right up until the day it saves you. Here are the situations where people wish they had it.

  • Updating plugins, themes, or core. Updates are essential for security, but an update can occasionally conflict with another part of the site. Testing on staging lets you catch that before it hits live.
  • Trying a new plugin. A new plugin can slow the site or clash with an existing one. Staging is where you find out without risk.
  • Redesigning a page or the whole site. Big design changes are far calmer to build on a copy, then release when finished, rather than editing live in front of customers.
  • Editing code or the theme. Any change to template files or custom code should be tested on staging first, because a small mistake can take down a page.
  • Debugging a problem. When something is broken, staging gives you a place to experiment with fixes without making the live problem worse.

The common thread is confidence. With staging, you stop being nervous about updates and changes, because you always try them somewhere safe first. Without it, every update is a small gamble on your live site, and sooner or later a gamble does not pay off.

Who benefits most from staging

Every WordPress site gains something from staging, but a few kinds of site gain the most and should treat it as essential rather than optional. A store or a booking site sits at the top, because there a broken checkout or a failed booking is lost money the moment it happens, and often money you never even hear about because the customer simply gives up and leaves. A site that earns leads through forms is close behind, since a contact form that quietly stops sending is invisible until the enquiries dry up. Sites with a lot of custom code or many plugins also benefit heavily, because more moving parts means more chances for an update to clash with something. Even a simple brochure site is worth staging before big changes, though for day to day text edits it can safely skip the copy. The busier and more valuable your site, the less an outage is something you can shrug off, and the more a few minutes of testing on a copy earns its place.

A story that plays out constantly

Here is how the lesson usually gets learned the hard way. A business owner sees an update available for a plugin, clicks update on the live site because it has always been fine before, and this time the update clashes with the theme. A key page goes blank, or the whole site shows an error, and it happens at the worst moment, during business hours with customers trying to visit. Now they are scrambling to fix a live outage under pressure, often calling for help and paying more to undo the damage than it would have cost to prevent it. Staging is what turns that story into a non event: the same update, tried on the copy first, reveals the clash privately, and the live site never so much as flickers.

It is not only about breakage

Staging is not just insurance against things breaking. It is also where good work gets made calmly. A redesign you build on staging can take its time, be reviewed by others, and be polished until it is genuinely ready, all without a half finished page ever showing to a visitor. Trying a new layout, testing whether a plugin actually helps, comparing two versions of a page: these are all easier and less stressful when there is a safe place to do them. So staging pays off twice, by preventing disasters and by making everyday improvements smoother.

Nervous about updating your live site?Get a free, no-obligation quote and we will set up staging and handle updates safely for you.
Get a free quote

The Four Ways to Make One

There are four common ways to create a WordPress staging site, and they suit different people and setups. In rough order from easiest to most technical, they are: a one click staging feature built into your hosting, a staging plugin, a manual copy on a subdomain, and a local copy on your own computer. The rest of this guide walks through each one step by step, then helps you choose.

They all reach the same destination, a private copy you can test on, but they differ in how much they do for you. The host feature and the plugin hide the difficult database and address work, which is why they suit most site owners. The manual and local methods hand you more control and understanding at the cost of more steps. There is no single right answer, only the one that fits your host, your comfort level, and the size of what you are building, so read the four and pick the one that matches your situation.

Live site seen by visitors Staging copy private, test here Live site updated safely 1. copy 3. push 2. make and test changes
Illustrative staging workflow. You copy the live site, make and test changes on the private staging copy, then push the finished work back to live.

Method 1: One Click Host Staging

The easiest way, by a wide margin, is to use a staging feature built into your hosting. Many good WordPress hosts include a one click staging button that creates a copy of your site, gives it a private address, and later pushes your changes back to live for you. If your host offers this, it is almost always the method to use, because it handles the tricky parts, like copying the database and rewriting internal addresses, automatically.

Typical steps

  1. Log in to your hosting control panel and find the WordPress or site management area.
  2. Look for a button labelled Staging or Create Staging Environment. Click it.
  3. The host copies your live site to a staging address, often something like staging.yoursite.com or a temporary address it provides. This can take a few minutes.
  4. Log in to the staging copy using the same details as your live site, and make your changes there.
  5. When you are happy, use the host's Push to Live or Deploy option to copy the changes back to your live site.

The exact wording varies by host, but the shape is always the same: create, edit, push. Because the host manages the whole process, this method avoids nearly all of the manual pitfalls the other methods have. If you are choosing a host or checking what yours offers, our guide to the best WordPress hosting notes which kinds of hosts tend to include staging.

Why host staging is usually best

The hardest parts of making a staging site are copying the database correctly and rewriting all the internal addresses so the copy points at itself rather than the live site. These are exactly the steps that go wrong when people do it by hand. A host built staging feature does both automatically and invisibly, which is why it is the method we recommend to almost everyone whose host provides it. It also tends to keep the copy properly private and gives you a tested path to push changes back, so the whole cycle is handled by tools the host maintains. Less to learn, less to break, and less that depends on you remembering a fiddly step.

Refreshing your staging copy

One thing to know about host staging is that a staging copy is a snapshot from the moment you made it. If your live site keeps changing after that, with new posts, orders, or comments, your staging copy gradually falls out of date. Most host staging features let you refresh or recreate the staging site from the current live site whenever you want, and it is good practice to do that before starting a new round of changes, so you are testing against a copy that matches live as it is now, not as it was weeks ago.

Ready to bring your WordPress project to life?Get a free consultation and a fixed-scope quote. A senior engineer replies within 24 hours. No obligation.
Get a Free Quote

Method 2: A Staging Plugin

If your host does not offer staging, a dedicated staging plugin is the next best thing. Plugins such as WP Staging create a copy of your site into a subfolder or subdomain, all from inside your WordPress dashboard, so you never have to touch a control panel or a database directly.

How it generally works

  1. Install and activate a reputable staging plugin from the dashboard.
  2. Open the plugin and choose to create a new staging site. It copies your files and database into a private location for you.
  3. Wait while it clones the site. Larger sites take longer, since everything is being copied.
  4. Open the staging copy, which the plugin usually protects behind a login so the public cannot see it, and make your changes.
  5. Use the plugin's push or copy feature to send the changes back to the live site when you are ready.

The pushing step is where a good plugin earns its keep, because copying database changes back to live is the part most likely to go wrong by hand. A quality staging plugin manages this and often lets you choose which changes to push. As always, keep a backup before you push, just in case. Because a staging plugin copies the whole site, it pairs naturally with a good backup routine.

What to check when choosing a staging plugin

  • Active maintenance. Pick a plugin that is updated regularly and well reviewed, since it is doing important work with your whole site.
  • A real push feature. Some free tools clone a site but make pushing changes back to live harder. Check that the version you use handles the push, or be ready to move changes across another way.
  • Handling of large sites. If your site is big, confirm the plugin can copy it without timing out. Larger sites sometimes need a plugin built for scale.
  • Login protection. A good staging plugin puts the copy behind a login so it stays private. Confirm this rather than assuming it.

A staging plugin is a fine middle ground: easier than the manual method, and available even when your host offers nothing. The one habit to keep is caution at the push step, because that is where a copied database meets your live data, and a backup taken just before gives you a clean way back if anything surprises you.

Want staging without the technical fuss?Get a free quote and we will set up a reliable staging workflow so testing changes is a one click job.
Get a free quote

Method 3: Manual Subdomain Staging

The manual method gives you full control and does not depend on a host feature or plugin, but it involves more steps and a little comfort with hosting tools. It means making a copy of your site by hand on a subdomain, such as staging.yoursite.com. This is the traditional way, and it is worth understanding even if you use an easier method day to day.

The broad steps

  1. Create a subdomain. In your hosting control panel, add a subdomain like staging.yoursite.com pointing to a new empty folder.
  2. Copy the files. Copy all your WordPress files from the live site into the staging subdomain's folder.
  3. Copy the database. Export your live database and import it into a new database for the staging site.
  4. Update the configuration. Point the staging site's configuration file at the new database, and update the site address settings so the copy knows it lives at the staging address.
  5. Search and replace the URLs. This is the step people forget. Inside the database, the old live address appears in many places, and it must be changed to the staging address, using a proper search and replace tool that handles the technical format WordPress uses. Skipping this leaves the staging site trying to load the live site's pages.
  6. Protect it. Add a password or block search engines so the public and Google do not see the copy.

Done carefully, this gives you a full, independent staging site. Done carelessly, the URL step in particular causes confusing problems where the staging site behaves as if it were live. Because of that, most people are better served by the host or plugin methods, and the manual route is best left to those comfortable with these tools, or handed to a developer. It is closely related to the process of moving WordPress to a new host, which involves the same copy and search and replace steps.

Why the URL step trips people up

It is worth understanding why the search and replace step matters so much, because it is the part that quietly ruins manual staging attempts. WordPress stores its own web address in the database and sprinkles that address through your content, settings, and menus. When you copy the database to a staging site, all of those still say the live address. Unless you change them to the staging address, the copy keeps trying to load the live site's files and pages, so links point back to live, images load from live, and you end up editing what looks like staging but is really pushing you toward live. The reason a plain find and replace is not enough is that some of that data is stored in a packed format that a naive replace can corrupt, which is why a proper WordPress aware search and replace tool is essential. Getting this one step right is most of what separates a working manual staging site from a frustrating one.

Method 4: Local Staging on Your Computer

A local staging site runs on your own computer rather than on a server. Tools made for this let you install a private copy of WordPress on your laptop, where you can build and test with no internet needed and nothing public at all. Developers often prefer this for heavy work, because it is fast and completely isolated.

How people usually do it

  1. Install a local WordPress tool designed for this purpose, which sets up everything WordPress needs on your computer.
  2. Create a new local site, or import a copy of your live site into it, which some tools make a one click job.
  3. Work on the local copy in your browser, exactly as you would a normal WordPress site, but entirely on your machine.
  4. When finished, push the local site up to your live or staging server, which the better local tools help with.

Local staging is excellent for building something substantial in private, like a redesign or a new set of features, because it is quick and cannot affect anything online. The trade off is that a local copy is not a perfect match for the live server environment, so it is wise to also test on a server based staging site before going live, especially for anything sensitive to the hosting setup. For most small business owners, the host or plugin methods are simpler, while local staging shines for developers and larger projects.

Why developers like local work

The appeal of a local site is speed and total isolation. There is no network delay, so pages load instantly, and because nothing is online, there is zero chance of a visitor or search engine ever seeing the work. A developer can rip a site apart, test a risky change, and rebuild it in an afternoon, all in a sandbox that cannot touch anything real. Many local tools also make it a one click job to pull a copy of a live site down to the computer and, later, push finished work up to a server. For heavy building, that speed adds up to real time saved over a working week.

The catch with local

The one caution with local staging is that your computer is not identical to your web server. Different software versions and settings mean something can work locally yet behave differently once it is on a real server. For simple content and design work this rarely matters, but for anything sensitive to the server environment, the safe pattern is to build on local for speed, then test the result on a server based staging site that matches live, and only then push to production. That way you get the speed of local and the realism of server staging without betting the live site on either alone.

Want a clear plan and price for your website?Get a free consultation and a fixed-scope quote. A senior engineer replies within 24 hours. No obligation.
Get a Free Quote

Keep Staging Out of Google

Whichever method you use, one rule matters above almost all others: search engines must not find and index your staging site. If Google indexes a copy of your site, you end up with duplicate content competing with your real pages, and visitors may even land on your unfinished staging version from a search. This is one of the most common and damaging staging mistakes.

How to keep staging private

  • Password protect it. The strongest protection is to put the whole staging site behind a password so neither the public nor search engines can reach it. Host and plugin staging often do this automatically.
  • Discourage search engines. WordPress has a setting under Reading called discourage search engines from indexing this site. Turn it on for staging. It is not as strong as a password, but it helps.
  • Never link to staging publicly. Do not put the staging address in any public place, since a stray link is how search engines find copies they should not.

The good host and plugin methods handle this for you by keeping the copy private, which is another reason to prefer them. If you build staging manually, protecting it is a step you must not skip. A staging site that leaks into search results can undo real SEO work, so treat privacy as part of setting it up, not an afterthought. Our WordPress security guide covers related access controls worth knowing.

What to do if staging was already indexed

If you discover that a staging copy has already found its way into search results, do not panic, but do act. First, lock the staging site down properly with a password so it cannot be crawled again. Then, in the search engine's own tools, you can request that the staging address be removed from its index, which clears the duplicate listings. Going forward, make privacy the first thing you set up on any new staging site rather than something you add later. The whole problem is avoidable, and the fix is straightforward once you catch it, but it is far better never to let a copy of your site become public in the first place.

Pushing Changes to Live Safely

Making changes on staging is only half the job. Getting them back to the live site cleanly is the other half, and it deserves care, because this is the moment your tested work meets your real site.

Before you push

  • Back up the live site first. Always. If anything goes wrong in the push, a fresh backup means you can restore in minutes.
  • Test everything on staging. Click through the changed pages, check forms submit, and look at the site on a phone as well as a computer.
  • Note anything that changed on live meanwhile. If your live site takes orders, gets comments, or collects form entries, those may have arrived after you made the staging copy. Know how your method handles this so you do not overwrite new data.

The pushing part

With host or plugin staging, pushing is usually a single button that copies your changes to live. The one thing to watch is the database. If your live site collected new orders or entries while you were working on staging, a careless push that overwrites the whole database can wipe them. Good tools let you push files and database changes selectively, or warn you about this. For a content or design change on a site that does not collect live data constantly, pushing is simple. For a busy store, plan the push for a quiet time and understand exactly what will be overwritten. When in doubt, this is a sensible moment to get a developer involved.

A checklist for the push

It helps to run the same short checklist every time you push, so nothing is forgotten in the moment. Confirm the changes are finished and tested on staging. Take a fresh backup of the live site. Note anything the live site has collected since you cloned it, such as new orders or form entries. Choose whether to push files only, or files and selected database changes, based on what you actually changed. Do the push. Then open the live site and click through the changed areas to confirm all is well. Written down it looks like a lot, but in practice it takes a couple of minutes and it is the difference between a calm release and a nasty surprise.

Worried about pushing changes to a busy site?Get a free, no-obligation quote and we will manage staging, updates, and safe deployments so nothing breaks in front of customers.
Get a free quote

Which Method Should You Use

Here is the quick comparison to help you choose. For most people the answer is the first row.

MethodBest forDifficulty
One click host stagingAlmost everyone, if the host offers itEasy
Staging pluginSites whose host has no stagingEasy to medium
Manual subdomainPeople comfortable with hosting tools, full controlAdvanced
Local on your computerDevelopers and big builds done in privateMedium to advanced
Ease of setup for a non-developer (illustrative) Host staging Staging plugin Local install Manual subdomain Longer bar means easier for someone who does not write code
Illustrative comparison of how approachable each staging method is. The easier methods hand the tricky database work to a host or plugin.

Common Pitfalls and Fixes

A few problems come up again and again with staging. Knowing them ahead of time saves a lot of confusion.

  • Forgetting the URL search and replace. On a manual copy, if you do not replace the live address with the staging address throughout the database, the staging site loads the live site's pages and behaves oddly. Use a proper search and replace tool.
  • Staging getting indexed by Google. Always password protect staging or discourage search engines, or you risk duplicate content and visitors landing on the copy.
  • Overwriting new live data on push. If your live site collected orders or entries after you cloned it, a full database push can erase them. Push selectively, or push at a quiet time, and back up first.
  • Plugin licenses and keys. Some premium plugins tie a license to a single address, so they may complain on staging. This is usually harmless for testing, but be aware of it.
  • Emails sending from staging. A copy of your site can accidentally send real emails, such as order notifications, while you test. Consider disabling outgoing email on staging so customers are not confused.
  • Forgetting which site you are on. It is surprisingly easy to edit the live site thinking it is staging. Many teams add a clear banner or a different admin color to staging so there is no mistaking it.

Most of these come down to two habits: keep staging private, and always know exactly what a push will and will not overwrite. Get those two right and the rest are minor. The mistakes that genuinely hurt, a leaked staging site or wiped live orders, both trace back to skipping one of those two habits, so they are worth a moment of attention every single time rather than trusting to luck.

A Simple Staging Workflow

Put together, a healthy staging habit looks like this, and it becomes second nature quickly.

  1. Create or refresh staging from the current live site, so your copy matches what is live now.
  2. Make your changes on staging: run the updates, install the plugin, build the redesign, or edit the code.
  3. Test thoroughly: click through the site, check forms and important pages, and view it on a phone.
  4. Back up the live site so you have a safety net.
  5. Push to live, mindful of any new data collected in the meantime.
  6. Check the live site once more after the push to confirm all is well.

Follow this and updates stop being scary. You always try changes in private first, you always have a backup, and your visitors only ever see the finished, tested result. That is the whole point of staging: it turns risky changes into routine ones. For an alternative walkthrough of the setup, our earlier post on how to create a WordPress staging site covers the same ground with a different emphasis, and pairs well with this one.

How often to use staging

A fair question is whether every little change really needs staging. The honest answer is no. Writing a blog post, swapping an image, or tweaking a line of text on the live site is low risk and fine to do directly. Save staging for the changes that can genuinely break things: updating plugins, themes, or WordPress core; installing or removing a plugin; editing template files or code; and any redesign of a page or the whole site. A useful rule of thumb is that if a change touches how the site is built rather than just what it says, test it on staging first. Over time this becomes instinct, and you will find you reach for staging exactly when it matters and skip it when it does not.

Keep staging tidy

One last habit worth forming is cleaning up after yourself. An old staging copy left lying around for months can drift far out of date, take up space, and even become a small security concern if it is running outdated plugins and nobody is watching it. When you finish a round of changes, either refresh the staging copy so it matches live again for next time, or remove it and recreate it when you next need one. A staging site is a tool you pick up when you need it, not a second site to maintain forever, and treating it that way keeps things simple.

When to Get Help

Setting up staging with a host feature or a good plugin is well within reach for most site owners, and this guide should get you there. The moment it makes sense to bring in help is when your host offers no staging and the manual route feels risky, when you run a busy store where pushing changes without losing data needs real care, or when you simply would rather never think about it and have updates handled for you safely.

We set up and manage staging for WordPress sites so that updates, redesigns, and new features are always tested before they go live. We can add a one click staging workflow, run your updates on staging first, handle the database pushes cleanly, and keep backups in place as a safety net, so your live site stays stable while it keeps improving. Because we work in the code when needed, we can deal with the trickier cases, like busy stores and custom setups, that a simple plugin cannot.

If you want staging done properly, you can get a free quote or book a free consultation, and we will look at your site and recommend the simplest reliable setup. You can also see the full range of what we do on our services page. A little care with staging prevents the kind of live site disaster that costs far more time and trust to fix than it ever would have taken to avoid, and getting started is free. The official WordPress administration documentation and the WordPress backups guide are useful references if you go the manual route.

Hamza Hai

Hamza Hai writes about WordPress development, performance, and growth for businesses.

FAQ

Frequently asked questions

A WordPress staging site is a private copy of your live website where you can make and test changes before they reach real visitors. It lets you run updates, try new plugins, redesign pages, or edit code somewhere safe, so if something breaks it breaks privately rather than in front of customers. Nothing you do on staging affects the live site until you deliberately push the changes across. It is different from a backup, which is a saved copy you restore after a problem, while staging helps you prevent problems in the first place.

There are four common ways. The easiest is a one click staging feature built into many good WordPress hosts, which copies your site, gives it a private address, and pushes changes back to live for you. If your host has no staging, a staging plugin can clone your site from the dashboard. More advanced options are copying the site manually to a subdomain, or running a local copy on your own computer. For most people the host feature or a plugin is the right choice, since they handle the tricky database and address work automatically.

Many quality WordPress hosts do, usually as a button labelled Staging or Create Staging Environment inside the hosting control panel or site management area. Check there first, because a built in host feature is almost always the easiest and safest way to stage, handling the copy and the push to live for you. If you do not see a staging option, your host may not include one, in which case a staging plugin is the next best route. Better managed WordPress hosts tend to include staging as standard.

The strongest protection is to password protect the whole staging site so neither the public nor search engines can reach it, which host and plugin staging often do automatically. You should also turn on the WordPress setting under Reading that discourages search engines from indexing the site, and never link to the staging address anywhere public. This matters because if Google indexes a copy of your site, you get duplicate content competing with your real pages and visitors may land on your unfinished version. Treat privacy as part of setting staging up.

With host or plugin staging, pushing is usually a single button that copies your changes to live. Always back up the live site first, and test everything on staging before you push. The main thing to watch is the database: if your live site collected new orders or form entries while you worked on staging, a careless push that overwrites the whole database can erase them. Good tools let you push files and database changes selectively. For a busy store, push at a quiet time and know exactly what will be overwritten.

Both are private copies for testing, but they live in different places. A staging site usually runs on a server, often a subdomain of your real site or a host provided address, so it closely matches your live environment. A local site runs on your own computer using a tool made for that, which is fast and needs no internet but is not a perfect match for the live server. Developers often build on local for speed, then test on server based staging before going live, especially for anything sensitive to the hosting setup.

Yes, they do different jobs and you want both. Staging is where you test changes so they do not break the live site, while a backup is a saved copy you restore if something goes wrong anyway, whether from a hack, a failed push, or a hosting problem. In fact, you should back up the live site right before pushing staging changes across, so you have a safety net if the push causes trouble. Staging prevents problems and backups recover from them, so the two together keep a site truly safe.

Yes, and it is especially valuable for a store, since a broken checkout costs real money. The one extra thing to handle carefully is data. A busy store keeps taking orders on the live site while you work on staging, so when you push changes you must avoid overwriting those new orders with the older database from staging. Use a tool that pushes files and selected changes rather than the whole database, plan the push for a quiet time, and always back up first. For complex stores, this is a good point to involve a developer.

Have a project?

Let's Build Your Next WordPress Website

Get a free consultation and a fixed-scope quote. No obligations.

  • Free Consultation
  • No Hidden Costs
  • 100% Confidential

Request your free quote

Tell us what you are building. A senior engineer replies within 24 hours.

Please enter your name.

Please enter a valid email address.

Please tell us a little more about your project (10+ characters).

No obligation. Your details are only used to prepare your quote.

Click to call us +1 (365) 440-1786