Save your WP Ghost security configuration as a backup file and restore it on the same site or any other WordPress installation. The Backup and Restore feature exports every WP Ghost setting, including custom paths, firewall rules, brute force configuration, 2FA settings, and all toggle states, into a single downloadable file. Import that file on another site and your entire security setup is replicated instantly. Perfect for agencies managing dozens of client sites or anyone who wants a safety net before making changes. This is a free feature.
The Backup and Restore feature saves your complete WP Ghost security configuration as a downloadable file. You can use this file to restore settings on the same site after troubleshooting, replicate your setup on other WordPress installations, or keep a versioned archive of your security configuration. The backup captures all WP Ghost settings: path changes, firewall rules, brute force options, 2FA configuration, security headers, and every toggle in the plugin.
Backup and Restore is part of your overall hack prevention strategy because it ensures your security configuration is never lost:
Safety net before changes. About to update WordPress, switch hosting, or troubleshoot a compatibility issue? Back up first. If anything goes wrong, restore your exact configuration in seconds instead of reconfiguring dozens of settings manually.
Replicate across client sites. If you manage multiple WordPress sites with the same security requirements, configure WP Ghost once, export the backup, and import it on every other site. Same configuration, no manual repetition. This works for 5 sites or 500.
Version your security configuration. Create dated backups after major configuration changes. If a future update introduces an issue, you can restore to any previous configuration state rather than guessing which settings changed.
Store the file safely. Keep backup files in a secure location, not on the WordPress server itself. A password manager, cloud storage folder, or local encrypted drive all work. Name the file with the site URL and date for easy identification (e.g., wpghost-mysite-2026-04-09.json).
Important: Restoring a backup overwrites all current WP Ghost settings on the site. If you want to keep the current configuration as a fallback, create a backup of the current settings before restoring the old one.
For agencies or developers managing multiple sites, the backup file is your deployment tool:
The same backup file can be applied to as many sites as needed. Each site gets the identical security configuration in seconds.
Custom paths after restore: If you use unique custom paths per site (recommended for maximum security), update the paths on each site after restoring. The backup imports the exact paths from the source site. Having the same custom paths across all sites is less secure than unique paths per site.
The backup may contain custom paths or firewall rules that conflict with the target site’s configuration (different plugins, different server type). Use the emergency disable guide, the rollback settings, or add a constant in wp-config.php to disable WP Ghost temporarily. Then restore more carefully, or reconfigure manually using the Best Practice guide.
Check that the file is the original WP Ghost backup file and hasn’t been modified or renamed to an unsupported extension. The file must be a valid WP Ghost export. If your server has a low upload file size limit, check your PHP upload_max_filesize setting in your hosting panel.
Everything in WP Ghost: custom paths, firewall settings, brute force configuration, 2FA settings, security headers, disable options, text mapping rules, URL mapping, and all toggle states. The backup captures the complete plugin configuration.
Yes. WP Ghost settings are independent of the WordPress version. The backup file contains only WP Ghost configuration data, not WordPress core settings. It works across WordPress versions as long as the WP Ghost plugin version is compatible.
Yes, but verify the configuration after restoring. Some WP Ghost features (like .htaccess-based rules) work differently on Nginx. Run a Security Check after restoring to confirm everything works on the target server.
Yes. Backup and Restore is available in the free version of WP Ghost.
No. Backup and Restore reads and writes WP Ghost’s own configuration data stored in the WordPress options table. No core files are modified during backup or restore.
Manage and recover your WP Ghost configuration:
Replace the default wp_ database prefix with a random one to protect against SQL injection…
Change the WordPress uploads directory path with WP Ghost (rewrite rules, no files moved) or…
Configure WP Ghost with WP Rocket cache. Enable file optimization, Change Paths in Cache Files.…
https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…
The security of your WordPress site depends on multiple factors, such as the strength of…
Step-by-step guides to connect WP Ghost 2FA with Google Authenticator, Authy, Microsoft Authenticator, or LastPass.…