Migrate from WordPress to Astro in Basel
Many businesses in Basel run WordPress but face performance ceilings, security overhead, and rising hosting costs. Astro solves these with static HTML output, zero JavaScript by default, and edge deployment. I migrate existing WordPress sites to Astro with full SEO preservation, URL mapping, and 301 redirects.
- PageSpeed 95-100
Static HTML with zero JavaScript. Faster than any WordPress solution.
- SEO-safe migration
URL mapping, 301 redirects, Google rankings preserved.
- Cloudflare Pages hosting
Global CDN, free SSL, instant deployments. Hosting costs near zero.
If your company sits in the Basel region and publishes product information, study summaries, job pages and investor material on the public web, you are balancing readability, search visibility and evidence that the text on the site matches what regulators and partners saw on a given date. I build those sites with Astro, one developer, remote, in writing.

Photo: Charles01, CC BY-SA 3.0, Wikimedia Commons.
Basel firms that live on documentation, not dashboards
Basel Area Business & Innovation describes the region as home to a dense life sciences ecosystem and a life sciences supercluster. That does not mean every website is a clinical trial portal, but it does explain why so many public pages are long, cited and updated on a schedule: therapeutic areas, pipeline tables, HCP resources, sustainability reports and careers content in more than one language.
Those pages rarely need a single-page application. They need stable URLs, fast first loads on mobile networks, and copy that legal and medical affairs can approve before it ships. A marketing site that also hosts downloadable PDFs and footnoted summaries behaves more like a publishing system than like an app, which is the shape Astro was built for.
Why Astro matches documentation-heavy sites
Astro’s own positioning is explicit: it targets content-driven websites such as blogs, marketing sites and catalogues, with a server-first mindset and zero client-side JavaScript by default. Pages render to HTML on the build server (or on demand when you configure that), and the browser receives markup and CSS unless you opt in to interactivity.
That matters when a product page is mostly headings, tables, cautions and links to PDFs on Swissmedic or internal document control. Visitors get readable HTML immediately. You avoid shipping a framework runtime to every page view just to show static text.
The islands architecture keeps interactivity local. A dose calculator, a patient-event reporter, or a job alert signup can live in a small React, Vue or Svelte island with a client directive such as client:visible or client:load, while the surrounding regulatory text stays pure HTML. Astro’s docs describe islands as isolated regions of interactivity inside otherwise static pages, which is how I keep Core Web Vitals within the thresholds Google documents on web.dev (for example LCP up to 2.5 seconds, INP up to 200 ms, CLS up to 0.1) without treating performance as a marketing claim.
Versioned copy in Git instead of a database paragraph field
Pharma and medtech teams already version documents in validated systems. The public website should not be the weak link where nobody knows which sentence went live on Tuesday. With Astro, primary content often lives in the repository as Markdown, MDX, JSON or YAML inside content collections. Collections are sets of related files validated against a schema at build time, so a missing field or wrong date format fails the build instead of silently publishing.
Each change then carries a Git commit: author, timestamp and diff. That is not a substitute for GxP record keeping, but it gives marketing, regulatory and IT a shared audit trail for web copy. When Swissmedic or a partner asks what the site stated last quarter, you can point to a tag or commit, rebuild that revision on staging, and compare HTML. I document which collection holds which content type, how approvals map to merges, and who may press deploy.
For downloadable PDFs I keep stable public URLs where possible and note the document control ID in frontmatter or in adjacent text, so a PDF swap does not orphan inbound links from journals or authorities.

Photo: Ermell, CC BY-SA 4.0, Wikimedia Commons.
Content collections in practice for Basel projects
A typical schema for Basel life sciences marketing separates concerns so reviewers know where to look.
| Collection | Holds | Review focus |
|---|---|---|
products | Indications, limitations, safety links | Medical affairs |
pipeline | Phase, modality, last updated date | Investor relations |
careers | Role text, location, application island | HR |
legal | Privacy, cookies, imprint blocks | Legal and compliance |
news | Press releases with embargo datetime | Communications |
Astro validates entries with Zod (per the content collections guide), which catches incomplete translations or a press release missing an embargo before build. RSS, sitemaps and internal linking can be generated from the same source, so German and French siblings stay aligned when English changes.
I do not invent clinical claims. Approved wording comes from your PDFs or medical sign-off. My role is structure, build plumbing, and making sure the approved text is what renders.
Switzerland’s revised Federal Act on Data Protection (nFADP)
Since 1 September 2023 the revised Federal Act on Data Protection has applied in Switzerland. The consolidated German text is published on Fedlex as SR 235.1 (often referred to as nFADP, revDSG or nDSG in commentary). The Federal Data Protection and Information Commissioner (FDPIC / EDÖB) supervises federal bodies and many private controllers.
Legal interpretation stays with your counsel. For a Basel Astro site, three technical threads usually surface in the brief, and I implement what counsel approves.
Transparency. Privacy notices must describe purposes, categories of data, retention and recipients in language the reader understands. Static Astro pages make that easy to version alongside the legal collection above.
Processors and contracts. If forms post to email APIs, CRMs or recruiting tools, those vendors need appropriate contracts. Art. 9 nFADP addresses processing on behalf of another party; your counsel drafts the paper, I list each integration in the technical spec.
Sensitive data and high-risk profiling. The nFADP tightens rules around sensitive personal data and certain profiling by private controllers. A careers site or HCP portal needs field design that avoids collecting health data you do not need.
Cookie and analytics choices follow the same pattern: default-deny marketing tags, document what runs, and keep consent logs where counsel requires them.
Cross-border transfers between Switzerland and the EU
Basel companies rarely host everything on a single flag. Marketing may use an EU CDN, analytics may sit in Ireland, backups in Germany, while the legal entity remains Swiss. The EU has long recognised Switzerland in its adequacy framework for data transfers, but adequacy is not a blanket excuse to ignore documentation.
When personal data leaves Switzerland to countries without an adequacy decision, Fedlex and FDPIC materials describe transfer tools such as standard contractual clauses. Your privacy team picks the instrument; I map which form endpoints, logs and backup jobs cross which border, and I configure hosting so production data does not drift into jurisdictions you did not approve.
Because I work from Poland, an EU member state, I treat my own access the same way: minimum data in tickets, staging behind authentication, and no personal data in chat logs unless you accept that in writing.
Languages on Basel-facing sites
Basel’s market is routinely German, French and English, sometimes Italian for Swiss Italian visitors. Astro has no built-in CMS language UI, which is a feature here: each locale can be a folder or a field in frontmatter, hreflang alternates generated at build time, and typography tuned per script. I do not machine-translate regulated sentences; you supply approved locale text or we wire a headless CMS you already use.
The WordPress integration guide remains relevant when medical writers insist on the block editor. Astro fetches posts at build time; editors publish as today, and the public site stays static. For greenfield editorial stacks, see the headless CMS developer pillar; for keeping WordPress as the system of record in Basel, the WordPress developer Basel page covers my overlap work.
When Next.js or WordPress alone still makes sense
Not every brief should land on Astro. If the product is a logged-in portal with heavy client state, a Next.js developer Basel engagement may fit better, and I say that during scoping. If the goal is only a quick marketing refresh with plugins and no Git workflow, WordPress may be enough. Astro earns its keep when performance, versioned text and controlled JavaScript matter together.
Moving from WordPress or Next.js without losing URLs is a separate track; the Next.js to Astro migration Basel page describes inventories, redirects and side-by-side checks.
How a Basel Astro project runs with me
I do not run workshops or sit in your office. The rhythm is written.
- Brief. You send the live URL or a outline, languages, regulators or partners who care about the copy, and the date you need staging.
- Questions. I reply with a numbered list about hosting, forms, analytics, auth, and who approves medical text.
- Scope note. I describe deliverables, assumptions, and what I need from your designers (Figma, PDF proofs, or HTML reference). I can design the layout myself or implement yours.
- Staging. Work happens in your Git org. You review builds on a password-protected staging host.
- Launch. Cutover uses a redirect map tested against Search Console exports. I hand over editor notes and a short architecture readme.
Optional maintenance stays written: dependency updates, security patches, and small content template tweaks, scoped per month after launch.
Checklist before you commission an Astro build in Basel
You can use this even if you hire someone else.
- List every URL that must survive unchanged, especially PDF deep links cited in leaflets.
- Name the sign-off path for medical, legal and brand copy per language.
- Decide where personal data from forms may be processed geographically.
- Confirm whether WordPress, another CMS, or Git alone owns the text.
- Provide layouts for desktop and mobile before template work starts.
- Plan how you will rebuild after embargoed news or pipeline updates.
- Record baseline Core Web Vitals from the current site for honest comparison after launch.
Questions I hear from Basel teams
Are you based in Basel?
No. I am one person in Gdynia. Distance matters less than a clear repository, staging and written approvals. I answer enquiries in English on working days.
Why Astro for pharma or medtech web content in Basel?
Because most public pages are documents with light interactivity. Astro keeps them as HTML, validates structured content at build time, and limits JavaScript to islands you define.
How does the revised Swiss FADP affect contact forms?
Collect only fields you can justify, link to a current privacy notice, and paper your processors. Technical work includes HTTPS everywhere, spam protection, and logging configuration your counsel accepts.
Can editors keep WordPress while the public site is Astro?
Yes, via the documented REST or GraphQL fetch pattern at build time. Editors keep their workflow; visitors get static output.
Do you design layouts?
Yes. I design the layouts, or you bring yours; either way I build templates, collections and islands. I do not do brand identities.
What should I send before you quote?
URL, languages, migration or greenfield, approval chain, deadline, and where layouts live. I reply in writing with next questions.
Related services in Basel
- PHP developer Basel when a Laravel or Symfony backend sits behind the Astro front.
- Astro developer pillar for stack-wide context beyond this city page.
- Next.js developer Basel when the product is closer to an application shell.
Start with a written brief
Use the contact form. Tell me whether you need a new build, a migration, or WordPress retained as the editor backend; add the current address, required languages, and who signs off regulated text. The first written scope note is free, and I reply on working days.
Selected projects
Examples of my work.
olshtyn.com - WordPress Project | WPPoland
The olshtyn.com website is a modern information portal created with the residents and tourists of Olsztyn in mind. This project combines functionality with a...
osemka.pl - WordPress Project | WPPoland
Osemka.pl (also known as 8.pl) is a social network that was designed and implemented in 2006-2007 as a place for user integration in the era of early social ...
Photo Studio Balbriggan - Photography Website & Booking Platform
Photo Studio Balbriggan is a modern photography centre in Ireland offering professional photography services, advanced photo editing, high-quality printing, studio rental, and photography workshops.
WordPress support & development in Basel
Need this service: Astro developer in Basel?
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.