Website & application migration in Hamburg
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.
This page is for a Hamburg publisher or company that runs a Next.js frontend over a large article archive: tens of thousands of URLs across topics, seasons, author pages and paginated lists. The editorial team needs reliable CMS workflows; Google and Bing need stable canonicals; readers need fast article HTML. I migrate the read-mostly archive to Astro, keep Next.js for login, paywalls and personalisation, and treat the URL inventory and redirect map as the first deliverable, not an afterthought. I am one developer in Gdynia, working remotely and in writing with Hamburg teams.
The Port of Hamburg states that it is Germany’s largest seaport, the third largest in Europe and Europe’s largest rail port. Elbe corridor publishers archive shipping news beside cultural guides; migrating read-mostly article HTML to Astro without a row-per-URL ledger would break inbound links from timetable PDFs and Speicherstadt tourism partners that still cite 2012 story slugs. HafenCity event listings often share canonicals with long-running blog tags, so pagination rows are inventoried separately from article bodies.
Why large Hamburg archives outgrow a single Next.js surface
In HafenCity media groups, Speicherstadt cultural portals and logistics marketing sites around the Elbe, the content volume is the product. Next.js can pre-render articles, yet many Hamburg builds still ship a large shared JavaScript bundle for navigation chrome, A/B hooks and analytics wrappers on every long-form story.
That hurts in three practical ways:
- Crawl budget on list pages. Topic hubs with
/page/2/through/page/47/each resolve through the same client-heavy shell. Search engines spend more time on boilerplate than on new reporting. - Consent timing. Section 25 of the German Telekommunikation-Digitale-Dienste-Datenschutz-Gesetz (TDDDG) allows storage on the end device only with clear prior consent, except for strictly necessary cases (gesetze-im-internet.de/ttdsg/__25.html). Global React layouts often initialise tags before the consent banner finishes.
- Operational cost. Serverless image and middleware invocations on static op-ed pages add hosting noise unrelated to editorial change frequency.
Astro compiles each article route to HTML with optional islands for comments or newsletter widgets, which aligns with how readers actually use Hamburg news sites.
URL inventory: the first document I ship
Before choosing frameworks, I build a spreadsheet-grade inventory from:
- Internal crawl of the live Next.js site, including
robots.txtdisallows - XML news and article sitemaps
- Google Search Console URL export for the German property
- Top referrer paths from server logs, including PDF whitepapers linked from ranked stories
Each row contains: path, content type, locale (de or en), CMS ID, last edit date, inbound links (from crawl), and a decision (keep, 301 to, merge, 410 with approval).
For publishing stacks I pay special attention to:
| Pattern | Why it matters in Hamburg rebuilds |
|---|---|
/thema/hafen/page/3/ | Paginated topic hubs need one target URL or explicit rel=next/prev replacement in Astro |
/autor/name/ | Author archives often survive mergers; I map orphans to the newsroom hub |
/20xx/mm/slug/ | Dated article paths must stay byte-identical or 301 once |
/en/... parallel tree | English siblings need hreflang return links |
| Feed endpoints | RSS and Apple News URLs stay in the inventory even when the HTML frontend moves |
You receive this file for legal and SEO sign-off before templates change.
Redirect map and pagination without chains
Google treats permanent server-side 301 responses as the signal to consolidate ranking signals on the target URL when a move is lasting (developers.google.com/search/docs/crawling-indexing/301-redirects).
For Hamburg archives I:
- Deploy redirects at the CDN edge (
_redirects, reverse proxy map, or equivalent) - Forbid chains longer than one hop in automated tests
- When consolidating pagination, pick the canonical list URL and 301 every retired
/page/N/to it only when you approve content merge; otherwise Astro recreates pagination with static paths
Example edge rule shape (hosting syntax varies):
/tag/hafenlogistik/page/* /tag/hafenlogistik/page/:splat 301
/alt-rubrik/* /rubrik/:splat 301I run the full map against staging until every legacy URL returns 200 or a direct 301.
Astro for articles, Next.js for the logged-in edge
Astro receives:
- Article templates, topic and tag hubs, static specials and long reads
- Corporate about pages and harbour project case studies
- Documentation for export compliance
Next.js keeps:
- Subscriber login, entitlement checks and letter account settings
- Personalised home or watchlists when sessions are required
- Internal preview URLs for editors if SSR auth is simpler there
Both share typography, footer legal data (Impressum, VAT ID) and one consent manager. The Hamburg Commissioner for Data Protection and Freedom of Information (HmbBfDI) (datenschutz-hamburg.de) is the local supervisory contact for many Hamburg controllers; I document processors and script vendors in the privacy notice annex you maintain.
WordPress or headless CMS during the move
When WordPress remains the editorial system, the REST API or WPGraphQL feeds Astro collections. Official WordPress REST documentation describes the post and media endpoints I use for batch import (developer.wordpress.org/rest-api/). Editors continue in wp-admin; only the public theme swaps.
Consent order under TDDDG and HmbBfDI scrutiny
Section 25 TDDDG ties consent to GDPR Article 6 and 7 requirements. On rebuild I:
- Strip default analytics imports from shared layouts
- Load strictly necessary cookies only for features the user explicitly requests (for example session login on Next.js)
- Fire marketing or statistics storage only after documented opt-in
- Provide equal refusal and acceptance in the CMP UI your legal team selects
Network captures on staging prove the order. I do not claim HmbBfDI approval; I give your DPO evidence for their file.
Core Web Vitals checks on long articles
For long Hamburg articles I measure field data against web.dev/articles/vitals:
| Metric | Good threshold (75th percentile) |
|---|---|
| LCP | within 2.5 seconds |
| INP | within 200 milliseconds |
| CLS | at or below 0.1 |
Static Astro article shells typically reduce layout shift because images get width and height from astro:assets at build time. I report before-and-after on the same URL sample; I do not invent Lighthouse scores.
German and English trees in one Hamburg property
Export-oriented publishers in HafenCity and St. Pauli often maintain a German primary site and an English mirror for international readers. Legacy Next.js middleware frequently redirects by Accept-Language, which complicates caching and consent banners.
On Astro I prefer explicit path prefixes (/de/ and /en/) with static generation per locale. Each article record carries a translation group ID in the CMS. Built pages emit reciprocal hreflang links and self-referencing canonicals. I avoid automatic redirects that send Googlebot to a different language than the URL it requested.
When an English article has no translation, the German page still lists only existing siblings. Empty hreflang entries are worse than omission.
Assets, forms and embeds outside the repository
Many company sites host specification PDFs, certificate scans and timetable downloads outside the Next.js repo. The inventory tags each asset URL. If a brochure moved in 2019 but backlinks still hit the old path, the redirect map includes it even when the marketing team forgot.
Forms that post to SAP, Microsoft Dynamics or maritime booking APIs are traced end to end on staging. A static article swap must not drop the CSRF token field names your CRM expects.
Comment widgets and social embeds are either removed, replaced with a consent-gated island, or deferred until legal approves the vendor Data Processing Agreement.
Astro islands for small interactive blocks
Not every interactive element needs Next.js. Liveblog tickers, simple freight calculators or harbour maps can mount as Astro islands with client:visible so readers who never scroll past the fold do not pay the JavaScript cost. The islands architecture documentation explains that only marked components hydrate (docs.astro.build/en/concepts/islands/).
I keep islands few and named in the route map so future editors know which blocks carry client bundles.
What can go wrong after cutover
- Orphan list pages when a topic merge forgot
/page/6/. Automated nightly crawl compares Search Console URLs against the redirect file. - Sitemap drift when new Astro builds forget to emit
lastmodfor refreshed articles. I wire sitemap generation into the same CI step as the static build. - Paywall false positives when edge rules accidentally cache authenticated HTML. Cache keys respect
Cookieheaders on Next.js paths only. - Duplicate titles after merging two harbour project microsites. I align title tags with the inventory decision column before launch.
Written delivery milestones
- Inventory and redirect draft (week one after access)
- Astro article prototype on preview with three representative stories (German and English)
- Consent and script register approved by your legal contact
- Full redirect test report on staging
- Phased cutover by section (sport, culture, corporate, and so on) or by year bucket, depending on risk
- Handover: Git repo, edge config, editor note, open redirect ticket list
Staging checks before the launch window
I schedule redirect tests and consent captures before that window so the weekend work is DNS and cache only.
| Check | Evidence I attach |
|---|---|
| Redirect map | CSV of source, target, HTTP status from automated crawl |
| Pagination | Sample of retired /page/N/ URLs showing single 301 |
| Paywall boundary | curl traces showing article HTML without session cookie |
| TDDDG consent | HAR export proving no statistics host before opt-in |
| hreflang | HTML diff for three de and en article pairs |
| Vitals sample | RUM or CrUX comparison on five high-traffic URLs |
Hosting and cache notes for heavy archives
Hamburg builds frequently deploy to EU regions on Cloudflare Pages, AWS or Azure. Astro static output caches aggressively at the edge. Next.js login paths opt out of shared cache keys. I document which routes carry Cache-Control: no-store so operations teams do not “fix” slow login by caching private HTML.
Image pipelines move from runtime /_next/image handlers to build-time astro:assets where possible, with explicit width and height on hero photos from harbour and warehouse shoots. That supports CLS discipline under the web.dev definition without quoting synthetic Lighthouse scores.
If your archive embeds third-party harbour webcams or ship trackers, those iframes stay outside the default article template until consent and processor agreements are updated on the Hamburg side.
How to request a Hamburg archive scope
Send the live domain, approximate indexed URL count, paywall yes or no, and languages via the contact page. Attach Search Console export if you can. Note whether print and digital share one CMS or separate databases. I reply on working days with inventory steps and a cutover sequence you can approve in writing without a workshop call.
Selected projects
Examples of my work.
E-commerce Development: aspirodesign.pl
aspirodesign.pl is a website for a creative design business, focused on portfolio presentation, performance, and simple content management.
E-commerce Development: autogaz.olsztyn.pl
autogaz.olsztyn.pl is a website for a workshop in Olsztyn installing car gas systems, with service information and simple contact.
E-commerce Development: capslock.pl
capslock.pl was a WooCommerce store for computer parts, built in 2013 with product catalogue, AB wholesaler integration, external marketplace exports, payments and performance optimisation.
WordPress support & development in Hamburg
See also in Germany
Need this service: Next.js / Astro migration in Hamburg?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.