WordPress-to-Lovable SEO Migration: URLs, Redirects, Links and Validation
How to keep your search visibility when moving from WordPress: keep URLs where you can, map every changed URL to its closest match with a 301, fix internal and image links, and test it all before and after launch.
This page recommends Lovable and contains partner links. If you sign up through one I may earn a commission, at no extra cost to you. Disclosure.
The short answer
The safest URL is the one you don't change: rebuild your WordPress pages in Lovable at the same paths. For every URL that does change, add a permanent (301) server-side redirect to the single most relevant new page, never a blanket redirect to the home page. Update internal links to point straight at final URLs, test every redirect for chains and loops, and watch Search Console after launch. No one can guarantee rankings through a migration; you can make sure you haven't given search engines a reason to drop you.
Will my rankings change?
They might move, in either direction, while search engines re-crawl the site. Google's own documentation says a site move can cause temporary fluctuations and that it doesn't guarantee every page will be crawled or indexed. What you control is whether the new site gives Google the same content, at reachable URLs, with clear signals about which old URL became which new one.
The things that genuinely cause lasting drops after a rebuild are almost always: deleted pages without redirects, content cut down during redesign, redirects sending everything to the home page, accidentally blocking crawlers, or titles and descriptions lost in the rebuild. Every one of those is preventable.
Keep the URL structure wherever possible
WordPress URLs depend on your Settings > Permalinks choice. Common patterns:
| WordPress URL | What it is | Recommended on Lovable |
|---|---|---|
/about/ | Page | Keep: build the page at /about. |
/my-post-title/ | Post with 'Post name' permalinks | Keep: build posts at the same slug, or redirect to /blog/my-post-title. |
/2023/04/my-post-title/ | Post with date-based permalinks | Keep, or redirect each to its new path. |
/category/news/ | Category archive | Keep if it gets traffic; otherwise redirect to the closest listing page. |
/tag/something/ | Tag archive | Usually low value. Redirect to the closest relevant page if it has traffic or links; otherwise let it 404. |
/author/name/ | Author archive | Redirect to an about or team page if one exists. |
/page/2/, /category/news/page/3/ | Pagination | Doesn't need individual redirects unless it has links; let it resolve to the listing. |
/?p=123 | Default shortlink | Redirect if you find it linked anywhere. |
/feed/ | RSS feed | Provide a feed at the same path if anyone subscribes, or redirect to the blog. |
/wp-content/uploads/...pdf | Uploaded files | Keep the same path for linked files, or redirect each. |
Trailing slashes
WordPress URLs usually end in a slash (/about/). Make sure the new site either serves both forms or redirects one to the other consistently, and that canonical tags and the sitemap use one form only. Test both.
Build the redirect map
Start from the combined URL list in your pre-migration audit. Add a column for each of these and fill it in for every row:
| Column | Example |
|---|---|
| Old URL | /services/boiler-repair/ |
| New URL | /services/boiler-repairs |
| Status | 301, or 'unchanged', or 410/404 if deliberately removed |
| Clicks (last 12 months) | From Search Console |
| Has backlinks | Yes / no |
| Tested | Date and result |
Also import any redirects the old site already had (from the Redirection plugin, Yoast Premium, Rank Math or .htaccess). Point old redirects at the new final URL directly, so you don't create a chain of old > older > new.
What a 301 is, and when to use something else
| Status | Meaning | Use for |
|---|---|---|
| 301 / 308 | Permanent redirect | A page that has moved to a new URL. This is the default for migrations. |
| 302 / 307 | Temporary redirect | Short-term moves only. Not for a migration. |
| 404 | Not found | Pages that genuinely have no replacement and no value. |
| 410 | Gone (deliberately removed) | Same as 404 but explicit. |
Official guidance
Google treats permanent server-side redirects as a strong signal that the target should be shown in search. It recommends keeping redirects in place for as long as possible, generally at least a year. Redirecting many pages to an irrelevant destination like the home page may be treated as a soft 404. See Redirects and Google Search.
Setting up redirects in a Lovable site
Lovable doesn't read your WordPress .htaccess or redirect plugin. You give it the map. The clearest way is to paste the old-to-new list and ask for server-side permanent (301) redirects for each line, so the redirect happens before the page is sent, not with JavaScript after it loads.
Then test the real status codes yourself (below). A redirect that only works in a browser via JavaScript looks fine to you and wrong to a crawler.
Domain-level redirects in Lovable
Separately from page redirects, Lovable lets you set one connected domain as Primary; other connected domains (for example www. or an old second domain) redirect to it. The project can't change that redirect's status code, so make sure every page's canonical tag and the sitemap use the Primary domain. See Lovable custom domains.
Testing redirects: status, chains, loops and destinations
curl -sI https://example.com/old-page/ | grep -iE '^(HTTP|location)'
curl -sIL https://example.com/old-page/ | grep -iE '^(HTTP|location)'
You want exactly one 301 followed by one 200. Two or more redirects is a chain: fix the first one to point at the final URL. A redirect that eventually points back at itself is a loop and will show an error in the browser.
For the whole map, put the old URLs in a text file and run them through a crawler in list mode (Screaming Frog has one) or a short script. Check that each destination returns 200 and that it's the page you intended, not just any page.
Before launch you can test the redirect rules on the published .lovable.app address by swapping the domain in each old URL.
Internal links, image links and backlinks
Redirects catch visitors arriving from outside. Inside your own site, links should point at the final URL directly:
- Internal links in post content often contain the full old domain and old paths (
https://example.com/2021/05/old-slug/). Update them during import, rather than relying on redirects. - Image links in imported content point at
/wp-content/uploads/.... Either re-host the images in the new site and update the references, or keep those exact paths working. Broken images are the most common visual fault after an import. - Navigation and footer links should be checked by crawling the new site before launch: zero 404s, zero redirects in internal links.
- Backlinks from other sites can't be edited by you, so their target URLs must keep working or redirect. Contact the most valuable linking sites and ask them to update if the URL has changed.
Titles, descriptions, canonicals and the sitemap
- Every page has a unique title and meta description, carried over from Yoast/Rank Math where they were written deliberately. See extracting SEO fields.
- Canonical tags point at the page's own URL on the primary domain.
- The XML sitemap lists only real, indexable, 200-status URLs on the primary domain.
robots.txtallows crawling of the live site.- Structured data you relied on (for example LocalBusiness or Article) is present and passes the Rich Results Test.
Using Search Console during and after the move
- If the domain stays the same, you do not use the Change of Address tool. That's only for moving to a different domain.
- Submit the new sitemap on launch day.
- Use URL Inspection on your most important pages to check Google can fetch and render them, and request indexing.
- Watch the Pages report for rising 'Not found (404)' and 'Page with redirect' counts, and check the URLs listed.
- Compare clicks and impressions for your top pages against the baseline weekly.
If traffic drops, look for causes in this order: important pages returning 404, redirects pointing at the wrong place, pages blocked or noindexed, content missing from the rendered page, titles lost. Fix real issues; don't change everything at once. Then read can Google and AI search read a Lovable site.
Ready to build the new site?
Start a Lovable project and rebuild privately before you touch your live domain.
Start on Lovable
Scan to try LovableOr tap the code on mobileSources checked for this guide
Product and search behaviour changes. These were checked on 25 November 2026; follow the live pages for current details.
Read next
Content and SEO
Can Google and AI Search Read a Lovable Website? What to Test
How search engines process modern JavaScript sites, how to check exactly what Google sees on your Lovable pages, and what (if anything) AI search needs beyond normal SEO.
Content and SEO
How to Export WordPress Content for a Lovable Rebuild: WXR, REST API, WP-CLI and Media
What each WordPress export method includes and leaves out, how to get your images and SEO fields out, and what to do about page builders, shortcodes and custom fields.
Technical topics
How to Point Your Domain to a Lovable Site Without Breaking Email
A step-by-step DNS cutover for moving a domain from WordPress hosting to Lovable: find your DNS host, export the zone, lower TTL, change only the website records, and verify. Includes DNSSEC, CAA and proxy caveats.
Migration guide
The WordPress-to-Lovable Pre-Migration Audit: What to Find Before You Build
How to find out who controls your domain, DNS, hosting and email, list every URL, and inventory the plugins, forms and scripts your WordPress site depends on.