cloud WordPress

How to create staging sites on WordPress

intermediate 8 min read Updated 2026-03-18
Quick Answer

WordPress staging sites allow you to test changes safely before applying them to your live website. You can create staging sites through your hosting provider's control panel, WordPress plugins, or manually by duplicating your site files and database.

Prerequisites

  • WordPress admin access
  • Web hosting account with staging support
  • Basic understanding of WordPress dashboard
  • Backup of your live site

Step-by-Step Instructions

1

Check if your hosting provider offers staging

Log into your web hosting control panel (cPanel, Plesk, or custom dashboard). Look for Staging, WordPress Staging, or Clone Site options. Popular hosts like WP Engine, SiteGround, and Kinsta provide one-click staging environments. If available, this is the easiest method to proceed with.
Contact your hosting support if you can't locate staging options - many hosts offer this feature but may have it in different locations.
2

Create staging site through hosting panel

If your host supports staging, click on Create Staging Site or similar option. Select your live WordPress site from the dropdown menu. Choose a staging subdomain name (typically staging.yourdomain.com or yourdomain.com/staging). Click Create and wait for the process to complete, which usually takes 5-15 minutes.
Write down your staging site URL and login credentials as they may differ from your live site.
3

Install a staging plugin (alternative method)

If your host doesn't offer staging, go to your WordPress dashboard and navigate to PluginsAdd New. Search for staging plugins like WP Staging, Duplicator, or UpdraftPlus. Install and activate your chosen plugin. These plugins will create a staging environment within your existing hosting space.
Free staging plugins may have limitations on site size or features - consider premium versions for larger sites.
4

Configure the staging plugin

After plugin activation, find the staging option in your WordPress sidebar (usually labeled WP Staging or similar). Click Create New Staging Site. Enter a name for your staging site (e.g., staging or dev). Select which files and database tables to copy - typically select all unless you have specific exclusions. Click Start Cloning.
Exclude cache folders and backup directories to reduce staging site size and creation time.
5

Access your staging site

Once creation is complete, you'll receive a staging site URL (e.g., yoursite.com/staging or staging.yoursite.com). Click the provided link or navigate to the URL in a new browser tab. Log in using your WordPress admin credentials - they should be the same as your live site unless specified otherwise by your hosting provider.
Bookmark your staging site URL for easy access during development and testing.
6

Configure staging site settings

In your staging site dashboard, go to SettingsGeneral and verify the WordPress Address (URL) and Site Address (URL) point to your staging domain. Navigate to SettingsReading and check Discourage search engines from indexing this site to prevent SEO conflicts. Update any hardcoded URLs in content if necessary.
Consider adding a visible banner or changing the admin color scheme to easily distinguish between staging and live sites.
7

Test and develop on staging

Your staging site is now ready for testing. Install and test new plugins, themes, or WordPress updates here first. Make content changes, customize designs, and perform any modifications you want to test. Document any issues or successful changes for reference when applying to your live site.
Create a testing checklist to ensure all critical functionality works before pushing changes to your live site.
8

Push changes to live site

When ready to deploy changes, use your hosting panel's Push to Live feature or your staging plugin's deployment options. Select which changes to push (files, database, or both). Always backup your live site before pushing changes. Monitor your live site after deployment to ensure everything works correctly.
Push changes during low-traffic periods and have a rollback plan ready in case issues arise.

Common Issues & Troubleshooting

Staging site shows 'Database Connection Error'

Check that database credentials in wp-config.php are correct for the staging environment. Contact your hosting provider if the issue persists as they may need to configure database access.

Images and media files not loading on staging site

Update image URLs in your staging database using plugins like Better Search Replace or run a search-replace query to change URLs from live domain to staging domain.

Staging site redirects to live site

Check SettingsGeneral for correct staging URLs. Clear any caching plugins and check .htaccess file for redirects. Some plugins may have hardcoded live site URLs that need updating.

Cannot access staging site admin

Try resetting your password through the staging site's login page. If that fails, create a new admin user via functions.php or contact hosting support to verify staging site permissions.

Prices mentioned in this guide are pulled from current plan data and may change. Always verify on the official WordPress website before purchasing.