Enjoy-Crete — Serverless Static Website Architecture

Enjoy-Crete — Serverless Static Website Architecture

Enjoy-Crete is a mission-critical travel and outdoor activity website, serving international customers and relying heavily on SEO visibility, uptime, and performance.
The project involved a full migration from WordPress to a modern, serverless, static architecture designed for long-term stability and zero operational overhead.


🌍 About the Project

The website contains a large volume of editorial content, image galleries, and SEO-sensitive pages built over many years.
The main challenge was to eliminate WordPress and all backend infrastructure while preserving:

  • Search engine rankings
  • Existing URLs and backlinks
  • Image galleries and content structure
  • Zero downtime during migration

🛠️ Technical Solution

We designed and implemented a fully static, CDN-native architecture using modern tooling and Cloudflare’s edge platform.

✅ Core Components

  • Hugo as the static site generator
  • GitLab as the single source of truth
  • GitLab CI for automated builds and deployments
  • Cloudflare R2 as private object storage (origin)
  • Cloudflare Worker for routing, redirects, and SEO preservation
  • Cloudflare CDN for global delivery, TLS, and DDoS protection

There are no servers, no databases, and no runtime backend involved.


🚀 Deployment & Architecture

The deployment flow is fully automated:


GitLab Repository
→ GitLab CI (Hugo build)
→ Cloudflare R2 (static files)
→ Cloudflare Worker (routing & redirects)
→ Cloudflare CDN (edge delivery)
→ End users

Key characteristics:

  • Zero-downtime deployments
  • Instant rollbacks via Git
  • Preview and production use the same infrastructure
  • No manual intervention required

🔀 SEO-Safe Migration & Routing

To preserve SEO and existing rankings:

  • All legacy WordPress URLs are mapped via 301 redirects
  • Redirects are stored in Cloudflare KV, not hard-coded
  • Pretty URLs are resolved at the edge (/page/ → /page/index.html)
  • Deprecated language paths (/fr/*) are safely redirected
  • A global fallback prevents dead-end 404 pages

All routing logic is handled exclusively by the Cloudflare Worker, with no application code.


🔐 Security & Reliability

The architecture significantly reduces attack surface:

  • No public origin server
  • No CMS or admin panel exposed
  • No PHP, MySQL, or runtime dependencies
  • HTTPS enforced at the edge
  • CDN-level DDoS and bot protection
  • Private R2 storage, accessible only via Worker

This results in higher security than traditional VPS or shared hosting setups.


⚙️ Operations & Maintenance

Ongoing operations are intentionally minimal:

  • Content changes trigger automatic rebuilds
  • Documentation changes do not trigger deployments
  • Rollbacks are instant by reverting a Git commit
  • No patching, no OS updates, no server monitoring
  • Cloudflare continues serving cached content even during deploys

The system is fully reproducible and documented.


💬 Outcome

The Enjoy-Crete platform is now:

  • Faster globally via edge delivery
  • Immune to WordPress-class vulnerabilities
  • Easier to maintain and extend
  • Cheaper to operate than VPS hosting
  • Stable under traffic spikes and seasonal demand

This project demonstrates a production-grade, serverless static architecture suitable for business-critical websites.


🤝 Expertise Highlight

This implementation showcases our expertise in:

  • WordPress → static migrations
  • SEO-safe architectural redesigns
  • Cloudflare Workers & edge routing
  • CI/CD-driven static deployments
  • Long-term, low-maintenance infrastructure design

👉 Contact us to modernize your web infrastructure