Skip to content

Domain Migration

Promptless WP stores each page’s sections as structured data, and image addresses and links typed in full keep the address they were entered on. Promptless WP → Domain Migration finds the old address in Promptless data and replaces it with the new one. You see every change before it happens, you can check the result at any time, and you can revert a run afterwards.

  • You moved a site from a staging subfolder or a local copy to its live domain.
  • You changed the site’s domain.
  • You cloned a site as the starting point for another.
  • Images, links or buttons still point at the old address after a move. A site audit reports these as Previous site address.

Move the site first with your usual migration plugin or host tool, including its WordPress Address and Site Address settings. Then run this tool on the new site. If your host gives you WP-CLI, wp search-replace covers the whole database in one pass and is the better tool for a whole-site move. This tool is for when you have only wp-admin, or want a field-by-field preview and a revert.

Only users with the Developer (Full Access) access level can use it. Administrators have it by default. Other users see a notice instead of the tool; see Departments and Editor Access.

  • Back up the database. Revert restores only what this tool changed, and only for the last three runs.
  • Keep AUTH_KEY the same when moving servers. Changing it in wp-config.php invalidates encrypted API keys stored in plugin settings. If it has already changed, enter the OpenAI key again; see Plugin Settings.
  1. Go to Promptless WP → Domain Migration.
  2. In Old site address, enter the address the data was created under, including https:// and any subfolder, for example https://staging.example.com/site.
  3. Check New site address. It defaults to this site’s current address.
  4. Under What to update, leave the boxes ticked unless you have a reason to untick one (see Options).
  5. Select Preview changes. Nothing changes yet. The Preview panel lists each address it would change, by location and field, with a before and after sample, then what it would leave alone and what it leaves elsewhere on the site.
  6. Select Run migration and confirm. It is available only after a preview that finds something to change. Progress shows each batch as it is written.
  7. Read the Verify panel, which appears when the last batch finishes (see the next section).
  8. If Progress or Verify says one step needs a person, answer the licence question (see below).
  9. Open a few pages on the new address and check images, buttons and menus.

If you change an address or a box after a preview, Run migration turns off until you preview again, and any Verify result on screen is removed. A preview expires after an hour, and a run is refused if the site changed since the preview.

Select Verify at any time to check a migration without changing anything, for example after a run in another session or a week later. It scans stored Promptless data again and fetches the front page and the five most recently changed published Promptless pages, both as WordPress renders them now and as a visitor gets them, over http and https.

  • Stored data is clean, and the pages as WordPress renders them now no longer show the old address. Promptless data is done. Read the two boxes below it before you call the move finished.
  • Not verified means a check could not run, for example a page that could not be fetched. Fix what the panel shows, then select Verify again.
  • Stored locations that still hold the old address lists what is left, by location and field.

What visitors see. A page cache’s copies cannot be listed from the server. When a cache answers, the panel says what visitors see cannot be checked from here, when copies cached before the migration expire, and which pages to open in a private browser window, over http and https. Purge the cache, or wait until that time. If a cached copy is seen holding the old address, the panel says Visitors are still being served the old address and the result is not clean.

Left on the site by this tool. A clean result covers Promptless data only. This box lists everything else that still holds the old address: Published pages that still hold the old address, with links, then Where it is, such as other pages’ content, custom fields, other plugins’ settings and user profiles. Fix those by hand, or with wp search-replace or the Better Search Replace plugin after a backup. Under Also holding it, as expected are revisions, GUIDs and logs, which are history or identifiers, not links.

Freemius, which manages the Promptless WP licence, notices the new address and asks an administrator in wp-admin whether the site is the licence’s new home, a duplicate or a new website. While the question is waiting, this screen says so at the top when a run finishes, and above the result in every Verify. An AI assistant is told the same.

  • Choose Migrate License. It keeps the licence on the new address.
  • Do not choose Activate License. It deletes the site’s licence record and re-activates only if your licence has a free site left, so the site can lose its premium features and its AI connector.
  • Duplicate Website is for a staging or test copy, not a move. It changes nothing for two weeks, then asks again.

Until someone answers, the editor, premium features and the AI connector keep working, so an assistant can still verify or revert the migration. An assistant cannot answer the question for you: it moves your licence, so it is your decision, and it is answered in wp-admin.

If you move many sites, you can answer in advance by adding this line to wp-config.php before the move:

define( 'FS__RESOLVE_CLONE_AS', 'new_home' );

It takes effect on the first wp-admin page load after the move, and is the same as choosing Migrate License.

The Migration log lists the last three runs with their status: Complete, Incomplete or Reverted.

  1. Find the run and select Revert.
  2. Confirm. The result says how many values were restored.

A value edited since the migration is left as it is and listed under These were not restored:. A reverted run cannot be reverted again.

A revert is not a clean slate, and the result says what it left: the revisions created on the run’s pages (restoring one brings the migrated address back), the run’s entries in the Global Settings history, and the pages whose last-modified date moved. If the result says the migration log could not record the revert, the values are restored but the run still reads as not reverted. Reverting it again is safe: it restores nothing more.

Page sections, their backups and revisions, and synced page content are always included, on every status except trash and auto-draft. Everything below is ticked by default.

OptionWhat it covers
Image and media addressesAddresses in /wp-content/uploads/. Untick it only if a migration tool has already moved them. Unticked, only upload addresses are skipped: a link beside an image is still updated, and the image is listed under Left alone.
Navigation menu linksCustom links in WordPress menus. Links to pages and posts update themselves.
Theme settingsThe active theme’s customizer settings, such as the header button, top bar, footer and announcement bar.
Custom font addressesCustom font files and any other address in Global Settings.
Promptless site settingsBusiness Identity, reusable elements and modals.
  • Links and image addresses are updated, whether they use http or https, including inside rich text.
  • Paths that carry the old subfolder are updated too. With an old address ending in /site, the link /site/contact/ becomes /contact/.
  • Left alone lists, most serious first, what it found and did not change: a value that still holds the old address in a form it does not recognise, a value that could not be safely re-encoded, the same host with or without www, an address used as a key, an address inside a block’s JSON comment or a CSS @import, an attribute not known to hold an address, excluded media, and text that only mentions the old address. A value it does not recognise stops the result reading as clean until you deal with it.
  • Data outside Promptless WP is reported, never changed: see Left on the site by this tool above.
  • www.example.com and example.com are different addresses. If both were used, run the tool once for each.
  • The preview finds nothing to migrate. Check the exact old address, including www. and any subfolder. Then read Left on the site by this tool below it: the address may be only outside Promptless data.
  • Links show the subfolder twice, such as /site/site/contact/. Links picked in the editor on a subfolder install used to be stored with the subfolder; links picked now are not. When the site moves out of the subfolder, this tool removes it. On a site that stays in its subfolder, pick the link again in the editor.
  • “Stored data is clean, but these pages still serve the old address.” The address comes from the theme, another plugin or an SEO plugin’s stored data, or from a cache. Purge your page cache and CDN, then select Verify again.
  • The migration stopped. The message says what to do. If part of it was written, revert the run from the Migration log rather than running it again. If nothing was written, preview and run again.
  • “The migration log could not be saved.” Nothing in that batch was changed. The site may be too large to log in one database row, so ask your host about max_allowed_packet.
  • Images are broken after migrating. The files may not have been copied to the new server’s uploads folder. Check they exist in the Media Library.
  • Old page addresses from a previous site. This tool changes the site’s address, not individual page paths. To send old paths to new pages, see Redirects.

An AI assistant can run the same steps through the connector, with the same Developer access rule; see Connector Tools.