Skip to content
Tarek
DEEN

WordPress to Next.js: Recognising and Securing SEO Risks in a Website Relaunch

Why visibility is lost in a relaunch

In a move, Google reassigns signals address by address. Every URL has its own history: the search queries it appears for, the links that point to it, signals from many months. When the address changes, that history has to be carried over deliberately – otherwise the new page starts from zero and the old one returns an error.

The most common causes of losses after a relaunch are therefore technical and avoidable:

  • Missing redirects: Old URLs return 404 although the content exists at a new address.
  • Bulk redirects to the homepage: Google explicitly advises against redirecting many old addresses to a single, thematically unrelated target.
  • Temporary instead of permanent redirects: Permanent redirects (such as 301 or 308) signal to Google that the new target is the authoritative address; temporary redirects do not.
  • Redirect chains and loops: Every additional hop costs time and reliability; Google recommends pointing directly to the final target.
  • New duplicates: The same page is suddenly reachable under several spellings and competes with itself.
  • Contradictory signals: Sitemap, canonical tags, robots directives and internal links point to different variants.
  • Too much at once: If URLs, content and page structure are changed in one step, it is hardly possible afterwards to say what triggered a change.

On top of that, even a clean move takes time. Google transfers signals URL by URL; for mid-sized websites it can, by Google's own account, take a few weeks or longer until the new addresses appear consistently.

What matters in the move

When a website moves from WordPress to Next.js, visibility is rarely lost because of the new system. It is lost because something unnoticed drops away in the move: addresses that suddenly return an error, pages that disappear without a replacement, signals that no longer point to the same place. The cause is almost always the handling of the old addresses, not the technology.

The risk can be reduced considerably if you do three things before the move: record every old URL, make a reasoned decision for each one – keep, redirect permanently or remove deliberately – and check the result automatically before and after going live. There is no guarantee for rankings; Google itself announces temporary fluctuations during a move.

For company websites in Germany there is a further obligation that also applies during the changeover: the legal notice (Impressum) must be easy to recognise, directly accessible and permanently available under section 5 of the German Digital Services Act (DDG) – and the privacy policy should also stay continuously accessible.

How to secure the move from WordPress to Next.js

1. The URL inventory reaches further than the sitemap. The WordPress sitemap is a starting point, not the complete list. Also use the performance and indexing reports from Google Search Console – including the 404 errors – and check the live website and known external links. WordPress generates many technical addresses on the side: drafts from page builders, files from plugins and consent tools, attachment pages. Keep these technical URLs strictly apart from the addresses with real search value.

2. A documented decision for every URL. Every address gets exactly one status: keep (the page stays at its current address), redirect permanently (to a thematically matching target) or remove (the page answers with 410 or 404). If several old pages compete for the same search intent, the stronger one stays – measured by clicks, impressions, index status and external links – and the weaker one is redirected to it. Content that is deliberately not carried over is not redirected to the homepage.

3. Decide the trailing-slash question early. WordPress addresses typically end with a slash, such as /services/. Next.js by default redirects in the opposite direction: /services/ becomes /services. Without a deliberate decision, every established address receives an additional redirect – in the worst case even one to itself. Decide which spelling is canonical and make sure every other variant leads there in exactly one step. In the case described below it was decided like this: existing addresses keep their historical form, new pages follow one consistent convention.

4. Redirects as a contract, not a list in your head. Record all decisions in a machine-readable file from which the redirects are generated automatically. That way there is exactly one source of truth. Permanent redirects lead to the final target in one step, keep parameters in the address and must not form chains or loops. Automated tests check this again with every change.

5. Bring sitemap, canonicals and internal links into line. The new sitemap contains only indexable, final addresses. Every page points to itself with a canonical, and internal links point directly to the canonical form – not to a variant that is only redirected afterwards. Pages without independent content do not belong in the index.

6. Keep mandatory pages and forms in mind. The legal notice and the privacy policy stay reachable without interruption. Contact forms are tested with a real delivery before going live – a relaunch that swallows enquiries costs more than any ranking.

7. Go live with a test matrix, then monitor. Immediately after switching over, run a fixed list of checks against the live website: old addresses, redirects, removed pages, the www and http variants, sitemap and robots.txt. Then submit the new sitemap in Search Console and watch indexing, error pages and the performance of the most important addresses over several weeks. Decide beforehand who monitors and when to roll back. The redirects stay in place for at least a year – Google recommends keeping them permanently where possible.

Documented case: moving a service business from WordPress to Next.js

Transparency: GlanzFix Reinigung & Umzugsservice is a business that I run myself – not a client project. I moved this business's website from WordPress to Next.js and planned and checked the migration myself; I used AI-assisted tools for the implementation and the copy. This page, too, was created with AI assistance – editorial responsibility lies with me. The case therefore shows my approach on a real, live example; it does not replace a client reference.

Starting point. GlanzFix (glanzfix-reinigung.de), a cleaning and moving business based in Duisburg, ran on WordPress and was already visible in Google search for services in several cities. The goal was a rebuild with Next.js on the same domain – without risking that visibility.

Inventory. The WordPress sitemap contained 36 addresses. From Search Console data (performance, indexing, 404 errors) and checks of the live website, 13 further addresses with real search value were added – 49 entries in total. Technical addresses from WordPress and plugins were kept separately and not included in the contract. The basis was a Search Console export covering twelve months, as of 25 September 2026.

Decisions. A reasoned decision was documented for all 49 entries: 30 addresses stay at their current address. 18 are redirected permanently – to the stronger page for the same search intent, to the canonical spelling or to the authoritative service page. One address is deliberately removed: the service it described is no longer offered; the page has since answered with 410 instead of redirecting to the homepage.

What the tests found before going live:

  • Trailing slashes: In the test before going live, 16 of 29 existing pages (excluding the homepage) in their original WordPress form would have produced a redirect to themselves. After the correction, a test matrix of 119 requests showed no self-redirect, no chain and no loop.
  • Internal links: 220 internal references pointed to non-canonical variants. After the correction, none of the 2,403 links on 123 pages led through a redirect or to a removed page.
  • Sitemap: Twelve pages without independent content were in the sitemap. They are now set to noindex, follow and no longer listed.
  • Headings: An automated check of all 117 rendered pages found faulty H1 headings, such as compound words torn apart; after the correction all 117 pages passed.

Live check after going live (15 October 2026). All 18 old addresses answer with exactly one permanent redirect (301) to the intended target, which in turn loads normally; parameters in the address are preserved. The removed page answers with 410. The www and http variants lead to the main address in one step. You can verify this yourself, for example: /gebaeudereinigung-duisburg-stadt/ → /gebaeudereinigung-duisburg/.

What this case does not (yet) prove. The new website has been live since 13 October 2026 at the latest. Whether visibility and enquiries were held can only be judged seriously after several weeks of Search Console data. This section will be updated with the results – including if they are not positive.

What a clean migration does not guarantee

  • No ranking guarantee: A technically clean migration protects against avoidable losses; positions still depend on content, competition and Google's assessment.
  • Fluctuations are normal: While Google reassigns the addresses, visibility can change temporarily – even when everything is implemented correctly.
  • Simultaneous content changes blur causes: If you change copy, structure and technology at the same time, you can no longer attribute changes clearly afterwards.
  • External links are not in your hands: Redirects catch old references; they do not replace asking the affected partners for an update.
  • Next.js is not an SEO promise: The framework makes fast, clean pages possible, but not automatically. And not every WordPress website needs a change of system: if the existing site works well, a targeted redesign can be the better decision.

Frequently asked questions

Do I automatically lose rankings through a relaunch?
No. Losses usually come from missing or wrong redirects, new duplicates and contradictory signals. Temporary fluctuations are still possible even with a clean move.
How long do the redirects have to stay in place?
Google recommends at least one year and advises keeping them permanently where possible for visitors. In practice there is little reason not to leave them active indefinitely.
301 or 308 – does it make a difference?
Not for Google: both count as a permanent redirect. What matters is that the redirect is permanent and leads to the target in one step.
Can I simply redirect old pages to the homepage?
Google advises against it. Redirect to a thematically matching page. If there is none, a clear 404 or 410 response is the more honest solution.
Is Next.js better for SEO than WordPress?
Not by itself. Next.js gives full control over rendering, addresses and metadata – but that control has to be used. A well-maintained WordPress website can rank just as well.
When will I see whether the move worked?
Technically, immediately: a test matrix shows on the day of going live whether all addresses answer correctly. Whether visibility was held only shows over weeks in Search Console.

Sources

  1. Google Search Central: Site moves with URL changes — accessed 2026-10-15
  2. Google Search Central: Redirects and Google Search — accessed 2026-10-15
  3. Section 5 of the German Digital Services Act (DDG) — German-language source — accessed 2026-10-15
  4. Next.js documentation: trailingSlash — accessed 2026-10-15

Want to talk through your project?