SwitchFromWP

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.

Written by a Certified Lovable ExpertFacts checked 25 November 20265 min read

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 URLWhat it isRecommended on Lovable
/about/PageKeep: build the page at /about.
/my-post-title/Post with 'Post name' permalinksKeep: build posts at the same slug, or redirect to /blog/my-post-title.
/2023/04/my-post-title/Post with date-based permalinksKeep, or redirect each to its new path.
/category/news/Category archiveKeep if it gets traffic; otherwise redirect to the closest listing page.
/tag/something/Tag archiveUsually low value. Redirect to the closest relevant page if it has traffic or links; otherwise let it 404.
/author/name/Author archiveRedirect to an about or team page if one exists.
/page/2/, /category/news/page/3/PaginationDoesn't need individual redirects unless it has links; let it resolve to the listing.
/?p=123Default shortlinkRedirect if you find it linked anywhere.
/feed/RSS feedProvide a feed at the same path if anyone subscribes, or redirect to the blog.
/wp-content/uploads/...pdfUploaded filesKeep 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:

ColumnExample
Old URL/services/boiler-repair/
New URL/services/boiler-repairs
Status301, or 'unchanged', or 410/404 if deliberately removed
Clicks (last 12 months)From Search Console
Has backlinksYes / no
TestedDate 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

StatusMeaningUse for
301 / 308Permanent redirectA page that has moved to a new URL. This is the default for migrations.
302 / 307Temporary redirectShort-term moves only. Not for a migration.
404Not foundPages that genuinely have no replacement and no value.
410Gone (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

Check one URL's status and destination
curl -sI https://example.com/old-page/ | grep -iE '^(HTTP|location)'
Follow every hop to see chains
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.

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.txt allows 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
QR code linking to Lovable with the partner linkScan to try LovableOr tap the code on mobile

Sources 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