WordPress to Static Migration

Rebuild a slow WordPress/Elementor site as a fast static or PHP site with a working contact form and deploy it.

SKILL.mdDEVELOPER TOOLSWordPress to Static Migra…wordpressstaticphp

About this skill

What it does

A proven workflow from eight real migrations: extract content and images from the live WordPress site, rebuild it as clean static HTML or lightweight PHP, keep SEO parity (redirect map, meta, sitemap, hreflang), wire a dependency-free PHP contact form with SMTP and anti-spam, and deploy over FTPS or to Netlify.

What you get

  • Extraction script for pages, posts and media
  • Layout, section and responsive CSS templates with light/dark tokens
  • Contact form handler (SSL/STARTTLS, honeypot, time check, rate limit, attachments)
  • Deploy scripts, .htaccess template, Cloudflare and LiteSpeed gotchas
  • Go-live and form test checklists

Who it is for

Freelancers and small studios replacing WordPress for clients who only need a fast brochure site.

What's inside

  • SKILL.md with the 6-phase migration workflow
  • references/ – extraction, rebuild architecture, contact form, SEO parity, deployment, go-live checklist
  • scripts/wp-extract.py – pages, posts, media and redirect map from a live WordPress
  • scripts/deploy-ftps.sh, check-redirects.sh, make-thumbs.sh, fake-smtp.py
  • templates/contact.php + config.example.php – SMTP form handler with anti-spam, rate limit and attachments
  • templates/ – base layout, sections, 404, CSS with light/dark tokens, main.js, PHP partials variant
  • templates/server/ – .htaccess, robots.txt, sitemap.xml, netlify.toml