WordPress to Eleventy (11ty) Migration Guide
WordPress to Eleventy (11ty) Migration Guide

Key Takeaways
- Eleventy renders WordPress content to static HTML at build time, eliminating the database queries and PHP execution that make WordPress slow and vulnerable.
- Content like posts, pages, images, and metadata migrates cleanly to Markdown, but dynamic features such as forms, search, comments, and e-commerce need new serverless or third-party replacements.
- A disciplined migration follows a fixed sequence: audit URLs, export content, scaffold Eleventy, rebuild templates, wire up dynamic replacements, map redirects, then QA on staging before cutover.
- Preserving rankings hinges on keeping URL structures identical where possible and 301-redirecting every changed URL to a single direct destination, with titles, meta, and schema ported verbatim.
- At $80/hour, most content sites migrate in two to eight weeks, with the one-time cost repaid through near-zero hosting bills and no plugin-maintenance overhead.
WordPress powers a huge share of the web, but for content-driven sites it increasingly feels like the wrong tool. Every page view spins up PHP, queries MySQL, and reassembles HTML that never changes between requests. Layer on a caching plugin, a security plugin, a page builder, and a dozen third-party scripts, and you have a stack that is slow, fragile, and expensive to keep patched. Eleventy (11ty) flips that model: it renders your content to plain static HTML at build time, so what ships to the browser is exactly what the visitor needs and nothing else.
This guide walks through why teams move from WordPress to Eleventy, what actually changes and breaks in the process, a repeatable migration workflow, and how to protect the search rankings you have spent years earning. It is written for developers and technical marketers who want the real mechanics, not a sales pitch.
Why Teams Move Off WordPress
The most common driver is performance. A static Eleventy site has no database round-trip and no server-side rendering on request, so pages are served as flat files from a CDN edge in milliseconds. That directly improves Core Web Vitals like Largest Contentful Paint and Time to First Byte, which are ranking and conversion factors. Beyond speed, teams cite:
- Security surface. No PHP execution, no wp-admin login, no plugin vulnerabilities to patch. A static site cannot be SQL-injected or have its database dumped.
- Hosting cost. Static files deploy free or near-free on Netlify, Cloudflare Pages, or Vercel, versus managed WordPress hosting that scales with traffic and complexity.
- Maintenance fatigue. No monthly plugin and core updates, no compatibility breakage, no bloated page-builder markup slowing everything down.
- Developer experience. Content lives in version-controlled Markdown and data files, so changes are reviewable, diffable, and reversible through Git.
Eleventy specifically appeals because it is unopinionated and dependency-light. It supports Nunjucks, Liquid, Markdown, and plain JavaScript templates, has almost zero client-side runtime, and does not force you into a JavaScript framework or a specific CSS approach. If you are still weighing options, our guide on how to choose a JavaScript framework for your website compares Eleventy against Next.js, Astro, and others.
What Changes and What Breaks
Moving to Eleventy is not a plugin swap; it is an architectural change, and being honest about that up front prevents nasty surprises. The biggest shift is that anything dynamic that ran on the server now needs a new home.
- Contact forms no longer POST to admin-ajax.php. You replace them with a service like Netlify Forms, Formspree, or a serverless function.
- Comments from WordPress do not carry over natively; move to a hosted solution (Giscus, Disqus) or drop them.
- Search becomes client-side (Lunr, Pagefind) or an external service rather than a database query.
- Dynamic features such as membership gates, e-commerce carts, or personalized dashboards need a headless API or serverless backend. If your site leans heavily on these, a purely static build may not fit, and a custom application or CRM-backed build is the more realistic path.
- Page builders (Elementor, Divi, WPBakery) produce markup that will not migrate cleanly. Their shortcodes and inline styles must be rebuilt as clean Eleventy templates and components.
What migrates smoothly: posts, pages, images, and metadata all convert well to Markdown with front matter. Your information architecture, taxonomies (categories and tags), and author data map naturally onto Eleventy collections and data files. The content survives; the delivery mechanism is what you are replacing.
The Step-by-Step Migration Process
A disciplined migration follows a predictable sequence. Skipping steps here is where rankings get lost.
- 1. Audit and inventory. Export a full URL list from your XML sitemap and Google Search Console. Record every published URL, its status code, and its top queries. This becomes your source of truth for redirects and QA.
- 2. Export the content. Use a tool like wordpress-export-to-markdown or the WP REST API to pull posts and pages into Markdown files with YAML front matter (title, date, slug, categories, featured image). Download the full uploads directory for images.
- 3. Scaffold Eleventy. Initialize the project, define your directory structure, and build the base layouts in Nunjucks or Liquid. Configure collections for posts, tags, and any custom content types.
- 4. Rebuild templates and design. Recreate the header, footer, post layout, and archive pages. Strip page-builder cruft and replace it with semantic HTML and a lean CSS layer. This is usually the largest chunk of effort.
- 5. Wire up dynamic replacements. Connect forms, search, and any needed serverless functions. Test each one against real submissions.
- 6. Map redirects. Match every old WordPress URL to its new location. WordPress permalinks like
/2021/03/post-name/often differ from Eleventy's clean/post-name/, so a redirect for each is mandatory. - 7. Deploy to staging, QA, then go live. Build to a preview URL, crawl it with Screaming Frog to catch broken links and missing pages, then cut over DNS and deploy the redirect rules simultaneously.
Because a botched cutover can tank traffic overnight, many teams bring in help for the deploy and redirect phases. Our website migration services handle exactly this handoff, from content export through DNS cutover, with the SEO safeguards built in.
Preserving SEO and Rankings
The single most important rule of any platform migration is preserve your URL structure and 301-redirect everything that changes. Search engines have equity attached to specific URLs; break those links and you throw away years of accumulated authority. Build a complete 301 redirect map that pairs each old URL with a single, direct destination, avoiding redirect chains and never pointing everything at the homepage.
- Keep permalinks identical where possible. Configure Eleventy's
permalinkfront matter to reproduce your existing slugs so most URLs simply do not change. - Migrate metadata verbatim. Port every title tag, meta description, and canonical URL. Eleventy front matter and data cascade make this straightforward.
- Preserve structured data. Rebuild your JSON-LD schema (Article, Breadcrumb, Organization, FAQ) into the templates so rich results survive.
- Regenerate the XML sitemap and robots.txt and resubmit them in Search Console the day you launch.
- Handle images. Keep filenames and paths stable, and add an image pipeline (eleventy-img) to serve responsive WebP/AVIF without breaking existing image URLs.
After launch, watch Search Console coverage and Core Web Vitals daily for the first few weeks. A well-executed static migration usually holds rankings and often improves them as page speed climbs. Our website migration SEO checklist covers the full pre-launch and post-launch verification steps in detail.
Realistic Cost and Timeline
Effort scales with content volume and design complexity, not with a fixed formula. A small brochure or blog of 20 to 50 pages is typically a two to four week project. A mid-sized content site of a few hundred posts with custom templates and a redesign runs four to eight weeks. Large sites with thousands of URLs, heavy dynamic features, or e-commerce need discovery work first and can extend well beyond that.
At eSEOspace's rate of $80/hour, the bulk of the budget goes to template rebuilding and redirect mapping rather than the content export, which is largely automated. The trade is clear: a modest one-time migration cost in exchange for near-zero hosting bills, no plugin-maintenance overhead, and a faster, harder-to-hack site. For most content-driven businesses, that investment pays back within the first year on hosting and maintenance savings alone.
The Confident Close
Migrating from WordPress to Eleventy is a deliberate trade: you give up the convenience of a plugin-for-everything CMS and gain a site that is dramatically faster, cheaper to host, and effectively immune to the vulnerabilities that plague WordPress. The content moves cleanly, the SEO is fully preservable with disciplined redirects, and the resulting stack is one your team can reason about and version-control. Done carefully, with the URL structure and metadata protected, you keep every ranking you have and set the stage for better ones. If you want that migration handled end to end, without the traffic-loss risk of a DIY cutover, eSEOspace can plan and execute the move for you.
Frequently Asked Questions
Will migrating from WordPress to Eleventy hurt my Google rankings?
Can Eleventy handle contact forms and dynamic features?
How long does a WordPress to Eleventy migration take?
What happens to my WordPress plugins after migrating to Eleventy?
Is Eleventy cheaper than WordPress to run?
Get a FREE GEO/AEO/SEO Audit
We'll analyze your site's SEO, GEO, AEO & CRO — completely free — and show you exactly how to get found across Google and AI answers.
Don't have a site yet? Get in touch →






