Skip to content
wp2next, home
Skip to the page

SEO and AI search: keeping your rankings through the move

For people running migrations (freelancers, agencies, developers). Moving your own site? Start with Move my site.

Moving a site from WordPress to Next.js should not cost it any search traffic. Search engines don't care which software builds a page. They care that the same addresses still work, and that each page still carries the same title, description and other signals. wp2next seo checks this for you, page by page, before launch and after.

It has four modes:

CommandWhat it doesChanges anything?
wp2next seo parityCompares every WordPress page with the new site and lists anything missing or changed. This is a launch gateNo
wp2next seo auditHealth check of the new site: missing titles, duplicate descriptions, broken redirects, sitemap problems, page speedNo
wp2next seo aeoReadiness for AI search (Google AI Overviews, ChatGPT, Claude, Perplexity, Copilot), and your choice of which AI crawlers may visitOnly records your choice
wp2next seo fixApplies the fixes you approveYes, on a separate branch; text changes go into Sanity as drafts for you to publish

Facts on this page were checked in December 2026 against the linked sources. Search engines and AI companies change their rules often. Where something is a vendor's own claim or isn't confirmed, this page says so.

Before launch: the parity check

During the migration, wp2next runs seo parity three times: when the pages are first built, during the visual comparison, and as the last gate before the moves. You can also run it whenever you like.

It reads each page on both sites and compares:

  • whether the page exists (or once to its new URL)
  • the title and meta description (what Google shows in results)
  • the (which version of the page counts)
  • whether the page may be indexed
  • the social sharing preview (Open Graph and Twitter/X tags)
  • language versions, if the site has more than one language
  • (the hidden JSON-LD that describes the business, articles and breadcrumbs)
  • the main heading, and how many images lack alt text
  • the and robots.txt

Each difference is marked:

  • Blocker: launch waits until it's fixed, or you approve it as an intended change.
  • Warning: fix it or say why it stays.
  • Info: nothing to do.

An approved change is written down in the project's records ( and wp2next.json) and shows as "approved" on the next run.

Some differences are expected and don't block anything:

  • The new site is hidden from search until launch. Before the domain moves, the new site tells search engines not to index it. That's deliberate, so the preview can't compete with the live site. The check knows this (--prelaunch) and compares the per-page settings separately.
  • WordPress's typographic dashes. WordPress turns - into – in titles. That shows as info, not a change.
  • Fake review stars removed. Some add star-rating markup to the business about itself. Google ignores that markup and says it shouldn't be there (Google⁠ (external site)). The new site drops it, and the check counts that as correct. Real testimonials on the page stay.

A note on how Next.js sends page titles

Next.js 16 can send a page's title and description slightly later in the page for search bots that run JavaScript, such as Google. Bots that don't run JavaScript, such as Facebook's link preview, still get them at the top (Next.js docs⁠ (external site)). The check reads each page twice, once as a normal visitor and once as Facebook's preview bot, so it catches broken share previews.

The internal pages: /brand/ and /components/

Every wp2next site has two pages that aren't for the public: the (/brand/) and the component library (/components/). The SEO check makes sure they never reach search results: they aren't in the sitemap, robots.txt tells crawlers to stay out, and every response carries a "noindex" header. In production they're switched off and return "not found", unless you turn them on with WP2NEXT_BRAND_ROUTE=on or WP2NEXT_COMPONENTS_ROUTE=on in Vercel and redeploy.

After launch: the audit

Run wp2next seo audit a few days after launch, then every month or after big content changes. It checks titles and descriptions, broken or chained redirects, the sitemap, structured data, headings, image alt text and page speed. Google's "good" page-speed thresholds are: main content visible within 2.5 seconds, responds to taps within 200 ms, and layout shift under 0.1 (Google⁠ (external site)).

If you connect , or export reports from it as CSV, the audit also shows pages that get clicks but are blocked, addresses that now return "not found", and the searches each page ranks for.

Some checks need a person:

  • Rich Results Test: paste one page of each type (home, a normal page, a blog post, a location) into Google's Rich Results Test⁠ (external site).
  • Search Console setting for AI features: Google now says a site must be included in "Search generative AI features" in Search Console to appear in them (Google⁠ (external site)). Check the setting is on.
  • : verify the site and submit the sitemap. Bing powers Microsoft Copilot answers, and its AI Performance report shows when Copilot cites you (a public preview since February 2026, per Bing⁠ (external site)).
  • Google Business Profile: the business name, address and phone must match the website exactly.

AI search (AEO)

"" (answer engine optimization) means being found and quoted by AI search tools. There's a lot of hype here, so wp2next labels every suggestion with how strong the evidence is.

What Google says. Google's own guide says optimizing for its AI search "is still ". It says you don't need special files, markup or rewriting for AI. There are no extra requirements for AI Overviews or AI Mode beyond being indexed and allowed to show a snippet (AI features⁠ (external site), guide⁠ (external site)). Google also says you don't need to break content into small chunks for AI. wp2next will never suggest that.

What seo aeo checks:

CheckHow strong the evidence is
Pages can be indexed, and the text is in the page (not loaded later by scripts)Strong (Google)
The Search Console AI-features setting is onStrong (Google)
Original, first-hand content; no mass-produced pagesStrong (Google)
Name, address and phone are identical on the site, in the structured data and on Google Business ProfileStrong for local search (Google); the effect on AI answers is a guess
Business structured data with logo, address and social profilesModerate: helps Google tell who you are; not required for AI features
Clear headings that match real questions, with the answer near the top and not hidden in tabsModerate (Microsoft's advice for Copilot, source⁠ (external site))
Author names, dates and visible "last updated" informationModerate for quality; the effect on AI citations is unproven
Statistics and cited sources in the textWeak (academic studies only)
Bing Webmaster Tools and IndexNow (instant update pings to Bing and others)Moderate (Microsoft's own claim)
An llms.txt fileNo evidence it's used: Google says it doesn't use it, and no major AI company has said it does (llmstxt.org⁠ (external site)). Off unless you ask for it

FAQ sections. FAQ rich results (the expandable questions under a Google result) stopped appearing in May 2026 (Google⁠ (external site)). FAQ sections are still useful when they answer real customer questions, but they won't earn special results any more, and wp2next won't promise that they do.

Your choice: which AI crawlers may visit

AI companies use different crawlers for different jobs. Some collect pages to train models; others fetch pages to answer a question someone just asked. Blocking one doesn't block the other. seo aeo asks you to pick one of three options, records your answer, and seo fix applies it to robots.txt.

OptionWhat happensGood to know
1. Allow all (suggested for most small businesses that want to be found)Every crawler may read public pagesAI tools can quote and link to you; some vendors may also train on the content
2. Allow search, block trainingTraining crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent, Bytespider) are told to stay out. Search crawlers stay allowedBlocking Google-Extended does not take you out of Google's AI Overviews (Google⁠ (external site)). Some crawlers (Bytespider is the usual example) are reported to ignore the rules
3. Block all AIOption 2 plus the AI search and assistant crawlers (OpenAI, Anthropic, Perplexity, Amazon)Removes you from ChatGPT, Claude and Perplexity answers. It does not remove you from Google's AI Overviews unless you also block Google entirely, which ends your Google traffic. Tools that fetch a page because a person asked may ignore robots.txt; Vercel's firewall has AI-bot rules for that (Vercel⁠ (external site))

robots.txt is a polite request, not a lock. Well-known crawlers say they follow it (OpenAI⁠ (external site), Anthropic⁠ (external site), Perplexity⁠ (external site)), with exceptions for fetches a user triggers.

Local businesses

If the business serves customers at a place or in an area, the new site describes it in structured data as a local business of the most specific type (a dentist, a plumber, a law firm…), with address, phone, opening hours and links to its profiles (Google⁠ (external site)). One entry per real location. If the business hides its address on Google Business Profile because it visits customers, the site hides it too.

Keep the business name on Google Business Profile exactly as it is in real life. Adding keywords to it breaks Google's rules and can get the profile suspended (Google⁠ (external site)).

Instant updates to Bing (IndexNow)

IndexNow lets the site tell Bing, Yandex, Naver, Seznam and Yep the moment a page changes, instead of waiting for a crawl (IndexNow⁠ (external site)). Google doesn't take part. If you turn it on, every time you publish in Sanity the site sends the changed addresses. This needs one more Sanity and a key in Vercel; wp2next asks before creating either.

Running it yourself

Terminal
wp2next seo parity          # before launch (the default until the migration's last phase is done)
wp2next seo audit           # after launch (the default afterwards)
wp2next seo aeo
wp2next seo fix

Reports land in .wp2next/seo/ in the project, as a readable .md file and a .json file. The underlying script is skills/wp2next/scripts/seo-scan.mjs; node seo-scan.mjs --help lists its options. It only reads pages; it never changes either site.

If the new site is a Vercel preview behind a login, the check needs Vercel's "Protection Bypass for Automation" , stored in your secret store (never pasted into chat). The steps are the same as for the compliance scan: see Compliance: privacy, consent, accessibility and form checks.

When something looks wrong

You seeLikely causeFix
Every page "WordPress indexable, Next noindex"The new site is still in pre-launch modeExpected before launch: the gate uses --prelaunch. After launch, check NEXT_PUBLIC_SITE_INDEXABLE=true is set in Vercel Production and redeploy
"WordPress baseline is noindex site-wide"The Local copy of WordPress has "Discourage search engines" tickedCompare against the live WordPress site instead (wp2next asks first), or accept that per-page index settings weren't compared
Canonical host is wrongNEXT_PUBLIC_SITE_URL isn't the real domainSet it to https://yourdomain in Vercel and .env, rebuild
"Not in <head> for facebookexternalhit"Share previews will be blankCheck htmlLimitedBots in next.config.ts, or ask your developer
A page answers 404 on NextMissing page or missing redirectAdd the page in Sanity, or a permanent redirect to its new URL
The report shows a Vercel login pageThe preview is protectedStore the bypass secret (see above) or scan a local production build

Related guides: Tracking and search: analytics, consent and Search Console (Search Console setup), Content: audit, voice guide and rewrites (rewriting copy, meta descriptions and FAQs as Sanity drafts), Compliance: privacy, consent, accessibility and form checks, Troubleshooting.