Next.js / Astro migration in Berlin

Berlin site migrations to Astro or Next.js with headless WordPress, draft previews, BlnBDI alignment, TDDDG section 25 consent, DDG section 5 disclosures and BFSG-ready components.

Next.js / Astro migration

Website & application migration in Berlin

I migrate sites from WordPress, Joomla, Drupal, Angular, Vue and other technologies to Astro and Next.js. I plan each migration to keep SEO, content and features intact and switch over in an agreed window. I work alone and have years of experience with both legacy and modern stacks.

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.
  • Local WordPress meetup: WordPress Meetup Berlin

My WordPress.org profile

This page is for a Berlin company that wants to leave a monolithic WordPress or TYPO3 theme without giving up the editorial habits its team already knows. I plan and implement these migrations myself from Gdynia: URL inventories, headless content wiring, redirect verification and the staging checks your legal counsel expects under Berliner Beauftragte für Datenschutz und Informationsfreiheit (BlnBDI) supervision and German federal law.

#Should a Berlin company migrate, or tighten the CMS it already runs?

A migration is justified when the public site architecture blocks performance, security or reliable publishing, and when plugin cleanup or caching alone cannot fix the root cause. On Berlin estates I often see Gutenberg pages wrapped in page-builder CSS that still miss Google’s official Core Web Vitals thresholds (Largest Contentful Paint up to 2.5 seconds, Interaction to Next Paint up to 200 milliseconds, Cumulative Layout Shift up to 0.1, as defined at web.dev/articles/vitals), wp-admin and database ports exposed on the same hostname as the marketing site, and TYPO3 or Drupal major upgrades quoted at the cost of a clean frontend rewrite.

If your problem is three heavy plugins, an unoptimised hero image or a misconfigured cache rule, I say that plainly in the written scope and recommend fixing the existing install. Rebuilding in Astro or Next.js is the wrong prescription for a solvable configuration issue.

#Keeping WordPress as the editorial backend behind Astro or Next.js

Many Berlin teams want to keep WordPress as the system of record while the public domain moves to a TypeScript frontend. That pattern is sometimes called headless WordPress: the CMS sits on a hostname that is not meant for casual visitors (cms.example.de, VPN, Cloudflare Access or IP allowlisting), and the storefront runs on Astro or Next.js.

Content can flow through two stable interfaces documented by the project vendors:

  • WordPress REST API (/wp-json/wp/v2/...), described in the WordPress REST API handbook, returns posts, pages, media and custom post types as JSON for static generation or incremental builds.
  • WPGraphQL, documented at wpgraphql.com, lets the frontend request nested fields in one query, which helps complex Berlin publisher layouts with related posts, authors and taxonomy.

Astro content collections or Next.js route handlers consume that JSON, compile pages to static HTML where possible, and keep PHP and MySQL off the public attack surface. Your Berlin editors keep Gutenberg blocks, roles and the media library they already trained on. If the team later prefers Git-based review, typed Markdown collections remain an option, but headless WordPress is a deliberate choice on many Berlin migrations I scope.

#Draft previews and publish workflows your editors keep during the rebuild

Editors worry that a migration freezes publishing for months. It does not have to. While staging runs the new Astro or Next.js frontend, production WordPress can stay live. Routine drafts and publishes continue in wp-admin.

On staging I wire preview behaviour so authorised users can open unpublished revisions in the new layout:

  • REST preview routes or dedicated preview slugs that fetch status=draft or revision endpoints with a shared secret or WordPress application password.
  • WPGraphQL preview queries where the schema exposes draft content only to authenticated preview requests.
  • Webhook or cron revalidation on Next.js so a publish event triggers a targeted rebuild instead of redeploying the entire site.

The final cutover still needs a short publishing freeze when DNS or reverse-proxy rules switch, usually one to two hours, so the last content delta syncs cleanly. The preview layer means marketing in Berlin validates real drafts in the new components weeks before that window.

#Astro or Next.js by route type on a Berlin domain

I assign frameworks per URL family, not per company logo:

Berlin route familyTypical examplesUsual target
Static marketing and PRProduct pages, case studies, press roomAstro static output
Editorial and docsBlog, help centre, policy PDF landing pagesAstro with MDX or headless WordPress source
Authenticated productCustomer portal, partner extranet, billingNext.js with server sessions or edge middleware
Interactive toolsROI calculators, configurators with saved stateNext.js or Astro islands with explicit hydration

Astro ships zero client-side JavaScript by default (docs.astro.build), which suits Berlin content sites that must load fast on mobile networks. Next.js fits when cookies, sessions or per-request data are part of the product contract. Both can live under one canonical Berlin domain with path-based separation (/ marketing on Astro, /app/ on Next.js).

#What happens to Berlin URLs, hreflang and Search Console during the move?

Google’s site-move guidance at developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes treats URL continuity as the operational core. For Berlin sites that publish in German and English, I merge four inputs into one spreadsheet: a full crawl of the live site, Google Search Console URL exports, XML sitemaps and access-log hits on legacy paths.

Each row states whether the path stays identical on Astro or Next.js, maps through a single permanent redirect, or returns HTTP 410 Gone when no successor exists and no inbound links remain. Where slugs stay the same, crawlers see no redirect hop. Where information architecture changes, each old URL gets one direct 301 to its successor, not a chain through the homepage.

German and English pairs keep reciprocal hreflang links in HTML and sitemaps. Canonical tags and Schema.org blocks (Organization, Article, JobPosting, FAQPage where applicable) are compared field by field between legacy production and staging before any proxy switch.

Berlin Partner for Business and Technology states in its 2026 mid-year update that Berlin’s information and communications technology sector employs about 145,158 people, more than in any other major German city, accounts for roughly 15 percent of city economic output, and includes 12,629 digital companies that generated about 39.4 billion euros in revenue in 2023. Publishers and SaaS vendors in that pool share BlnBDI scrutiny, so consent order and hreflang parity are scope items, not post-launch tickets.

The same release notes that 40 percent of Berlin companies already use AI tools, five percentage points above the German average. Marketing sites that import inference or analytics SDKs globally make DPIA annexes longer than Astro pages that keep experiments on isolated routes. I list which Berlin routes may load third-party AI widgets so BlnBDI questionnaires match production HTML, not a developer laptop with extensions disabled. Ku’damm publishers receive the same checklist as Kreuzberg SaaS teams.

#Staging acceptance checks before Berlin DNS or proxy cutover

Before traffic moves, the non-indexed staging build (X-Robots-Tag: noindex, nofollow) must pass objective checks:

Berlin staging gateWhat I exercise on stagingGo or no-go rule
Legacy path coverageAutomated HTTP requests for every inventoried HTML and PDF URL200 on unchanged paths or one 301 to the mapped target
de and en hreflangReciprocal links plus x-default where you use itNo one-way hreflang; no hreflang targets that redirect unexpectedly
Consent before trackingClean browser profile, no prior cookiesNo non-essential storage or third-party calls before affirmative consent under TDDDG section 25
Forms and CRMTest submissions on contact, demo and careers formsConfirmed delivery to the stated endpoint with privacy copy intact
Vitals-oriented markupSelf-hosted fonts, image dimensions, minimal blocking scriptsBuilt with the web.dev LCP, INP and CLS thresholds as engineering targets

#BlnBDI context, TDDDG section 25, DDG section 5 and BFSG in the new frontend

I implement technical measures; your Datenschutzbeauftragter or counsel signs off on legal text. Berlin private-sector controllers are supervised alongside federal law by BlnBDI (contact details at datenschutz-berlin.de).

TDDDG section 25 (gesetze-im-internet.de/ttdsg/__25.html) allows storage or access on terminal equipment only with informed consent unless a narrow necessity exception applies. In practice the Astro or Next.js marketing layer loads without marketing analytics until consent, and any banner offers an equally prominent reject path as required in German DSK and Berlin guidance.

DDG section 5 (gesetze-im-internet.de/ddg/__5.html) sets provider identification duties for telemedia services in Germany, replacing the former TMG provision. Berlin Impressum routes must stay reachable from every template and language variant with legal form, representatives, address, contact route and register references where applicable.

BFSG (gesetze-im-internet.de/bfsg/__1.html) transposes the European Accessibility Act for named product and service categories from 28 June 2025 onward. A migration that rebuilds components is a practical moment to ship semantic landmarks, labelled forms, keyboard focus and contrast aligned to EN 301 549 expectations, plus a dedicated accessibility statement route if your counsel requires one.

Because BlnBDI and German courts have treated unconsented third-party font and tracker requests seriously, I self-host fonts and document every script origin in the sub-processor table you attach to the privacy notice.

#Rollback and post-launch observation on a Berlin domain

I keep the legacy theme and database reachable on a standby origin or snapshot until organic traffic and form submissions look stable in Search Console and your analytics. Rollback is a documented sequence: revert proxy or DNS to the old origin, re-enable the previous caching rules, and record the incident. No rollback plan survives contact with production unless someone rehearses it once on staging; I include that rehearsal in the written scope for Berlin launches that carry compliance sign-off.

#Written remote collaboration and what you keep at handover

I work solo from Gdynia. Berlin projects run without scheduled calls or workshops. You send requirements by email; I answer on working days with written audits, redirect spreadsheets and staging URLs. If you want a new look, I design it, or I implement the files from your Berlin designer or agency in code. At handover the Git repository, CI configuration, redirect map and environment documentation sit in your accounts. For peer review in Berlin, the Berlin WordPress Meetup remains a useful local forum. Methodology detail lives on my migration overview and headless CMS integration pages.

#How to request a written Berlin migration scope

Use the contact form with your live URL, current CMS (WordPress, TYPO3, Drupal or other), languages (de, en or both), and whether WordPress must stay as the editorial backend. Mention integrations such as HubSpot, Personio or Matomo if they matter for consent design. I reply on working days with URL counts, a headless architecture sketch, preview approach and the staging checks that gate cutover.

Need this service: Next.js / Astro migration in Berlin?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Explore other WordPress services and knowledge base