Guide · Change site URL
Change the WordPress site URL in the database, without breaking links
Changing two values in the database gets you back into the site. Then the real work starts: thousands of old links inside posts, menus and widget settings, some stored in a format a simple find-and-replace breaks. Here is how to do both safely.
- The fix first, then the shortcut
- Works on shared hosting
- Pay once, use it forever
wp_options
Illustration.
The difference
Find-and-replace vs safe replacement
Plain find-and-replace in SQL
- 1Replace the old URL in a database export
- 2Lengths inside serialized data no longer match
- 3Widgets and theme settings vanish
- 4Builder layouts reset
Broken settings
Serialization-safe
- Change siteurl and home
- Replace links with a serialization-aware tool
- Settings and layouts intact
- Flush permalinks
Done right
How it works
Change it in three steps
1
Back up first
A whole-site backup, downloaded.
2
Change siteurl and home
In wp_options, or in wp-config.php.
3
Replace old links safely
With a tool that understands serialized data.
How Quick Restore handles a new address
Automatic on restore
Restore on a new domain and links are rewritten.
Serialization-safe
Widget, theme and builder settings kept.
Backed up first
Your old site stays as a backup.
No SQL
No phpMyAdmin or WP-CLI needed.
Any host
Chunked upload past limits.
Free to start
Up to 512 MB free; any size with Pro.
One payment. Yours to keep.
No monthly fee. 12 months of updates included, and the plugin keeps working after that.
You save $16 today
Pay once. Use it forever. No monthly or yearly fees.
- Restore backups of any size
- Back up files over 200 MB
- Import .wpress files of any size
- Chunked upload past host limits
- Validation before every restore
- Priority email support
Secure checkout by Razorpay · Licence key by email in about a minute
Full-site backups and restores up to 512 MB. Upgrade later and keep every backup.
Download free from WordPress.orgEverything in Pro plus daily, weekly or monthly backups that run on their own.
See Pro PlusCompare every Quick Restore plan · Need several sites? Contact us
Not sure which plan? Compare them
The features that matter most, plan by plan. Every paid plan is one payment with 12 months of updates.
| Quick RestoreChoose the plan that fits | FreeFreeDownload free | Restores any sizePro Original price was: $39.$23Current price is: $23.Buy Pro | Pro Plus Original price was: $59.$35Current price is: $35.Buy Pro Plus | Max Original price was: $199.$119Current price is: $119.Buy Max |
|---|---|---|---|---|
| Full-site backup to .wpqr (database, media, plugins, themes) | ||||
| Back up single files larger than 200 MB (videos, large archives) | ||||
| Maximum restore size | 512 MB | Unlimited | Unlimited | Unlimited |
| Chunked upload (bypasses host upload limits) | ||||
| Backup validation before restore | ||||
| Serialization-safe URL replacement (new domain) | ||||
| Import All-in-One WP Migration .wpress files | ||||
| One-click restore from a backup saved on the server | ||||
| Scheduled automatic backups (daily / weekly / monthly / custom) | ||||
| Retention rules (keep the latest N scheduled backups) | ||||
| Email a download link when a scheduled backup completes | ||||
| WordPress installations covered | 1 | 1 | 1 | 5 |
| Updates included | Free forever | 12 months | 12 months | 12 months |
| Licence key by email in about a minute. | Download free | Buy Pro | Buy Pro Plus | Buy Max |
Step by step
Three ways to change the site URL
- phpMyAdmin. Open the database, then the
wp_optionstable (your prefix may differ). Editsiteurlandhometo the new address, with https and no trailing slash. - wp-config.php. Add
define( 'WP_HOME', 'https://newsite.example' );anddefine( 'WP_SITEURL', 'https://newsite.example' );. These override the database until you remove them. - WP-CLI. Run
wp search-replace 'https://oldsite.example' 'https://newsite.example' --all-tables. Add--dry-runfirst to see what changes. It handles serialized data correctly. - Then replace the old links in content. Avoid editing an SQL export by hand: serialized settings store text lengths, and changing the URL length breaks them.
- Finally, flush permalinks. Settings → Permalinks → Save, and clear any cache.
Moving the site to a new domain anyway? Restore to a new domain with Quick Restore and all of this happens for you.
Watch
Watch a restore to a new domain
Questions about changing the site URL
Yes. You pay once and can use Quick Restore forever, with no monthly or yearly fees. 12 months of updates and support are included; after that, renewing is optional, and the plugin keeps working either way.
Set the old address back in wp_options with phpMyAdmin, or add WP_HOME and WP_SITEURL to wp-config.php with the correct address.
A storage format WordPress uses for settings, which records the length of each text. Plain find-and-replace changes the text but not the length, so WordPress discards the setting.
Add 301 redirects from the old domain and tell Google Search Console about the move to keep them.
Yes. Pro, Pro Plus and Max are add-ons to the free Poly Bright Quick Restore plugin from WordPress.org. If the free plugin is missing, the add-on offers to install it in one click.
The plugin keeps working. Renew only if you want another year of new features and fixes. There is no subscription to cancel.
Change your address without the SQL
Restore on the new domain and links are rewritten safely.
You save $16 today
Pay once. Use it forever. No monthly or yearly fees.
- Restore backups of any size
- Back up files over 200 MB
- Import .wpress files of any size
- Chunked upload past host limits
- Validation before every restore
- Priority email support
Secure checkout by Razorpay · Licence key by email in about a minute
Full-site backups and restores up to 512 MB. Upgrade later and keep every backup.
Download free from WordPress.orgEverything in Pro plus daily, weekly or monthly backups that run on their own.
See Pro PlusCompare every Quick Restore plan · Need several sites? Contact us
More guides
- All-in-One WP Migration maximum upload file size and import errors, fixed
- Back up WordPress before changing the PHP version, and how to switch safely
- Best WordPress backup plugin in 2026: honest picks for every kind of site
- Error establishing a database connection after a restore or migration
- How to backup a WordPress site without a plugin (and restore it)
- How to download a WordPress backup to your computer
- How to migrate a WooCommerce store to a new host without losing orders
- How to move WordPress to a new host without downtime