BLACK FRIDAY40% OFF every Poly Bright plugin · pay once, use it foreverEnds Dec 4Grab the deal →
Skip to content

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

The difference

Find-and-replace vs safe replacement

Plain find-and-replace in SQL

  1. 1Replace the old URL in a database export
  2. 2Lengths inside serialized data no longer match
  3. 3Widgets and theme settings vanish
  4. 4Builder layouts reset

Broken settings

Safe

Serialization-safe

  1. Change siteurl and home
  2. Replace links with a serialization-aware tool
  3. Settings and layouts intact
  4. 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.

Restores any size
Quick Restore Pro
$39$23 lifetime licence
You save $16 today

Pay once. Use it forever. No monthly or yearly fees.

1 website · 12 months of updates included, renewal optional

  • 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
Buy Pro · $23

Secure checkout by Razorpay · Licence key by email in about a minute

Not ready yet?Quick Restore, free

Full-site backups and restores up to 512 MB. Upgrade later and keep every backup.

Download free from WordPress.org
Need more?Pro Plus · $35 one-time

Everything in Pro plus daily, weekly or monthly backups that run on their own.

See Pro Plus

Compare 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.

Not sure which plan? Compare them
Quick RestoreChoose the plan that fitsFreeFreeForever, on WordPress.orgDownload freeRestores any sizePro Original price was: $39.Current price is: $23.one-time · 1 siteBuy ProPro Plus Original price was: $59.Current price is: $35.one-time · 1 siteBuy Pro PlusMax Original price was: $199.Current price is: $119.one-time · 5 sitesBuy Max
Full-site backup to .wpqr (database, media, plugins, themes)
Back up single files larger than 200 MB (videos, large archives)
Maximum restore size512 MBUnlimitedUnlimitedUnlimited
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 covered1115
Updates includedFree forever12 months12 months12 months
Licence key by email in about a minute.Download freeBuy ProBuy Pro PlusBuy Max

See every feature, plan by plan →

Step by step

Three ways to change the site URL

  1. phpMyAdmin. Open the database, then the wp_options table (your prefix may differ). Edit siteurl and home to the new address, with https and no trailing slash.
  2. wp-config.php. Add define( 'WP_HOME', 'https://newsite.example' ); and define( 'WP_SITEURL', 'https://newsite.example' );. These override the database until you remove them.
  3. WP-CLI. Run wp search-replace 'https://oldsite.example' 'https://newsite.example' --all-tables. Add --dry-run first to see what changes. It handles serialized data correctly.
  4. 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.
  5. 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.

Restores any size
Quick Restore Pro
$39$23 lifetime licence
You save $16 today

Pay once. Use it forever. No monthly or yearly fees.

1 website · 12 months of updates included, renewal optional

  • 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
Buy Pro · $23

Secure checkout by Razorpay · Licence key by email in about a minute

Not ready yet?Quick Restore, free

Full-site backups and restores up to 512 MB. Upgrade later and keep every backup.

Download free from WordPress.org
Need more?Pro Plus · $35 one-time

Everything in Pro plus daily, weekly or monthly backups that run on their own.

See Pro Plus

Compare every Quick Restore plan · Need several sites? Contact us

Pro · $23One-time payment
Buy now