StaticForge for Cloudflare Pages
Auto-export WordPress as static HTML to Cloudflare Pages on publish — with SEO meta, JSON-LD schemas, sitemaps, and robots.txt.
Solide Wahl
StaticForge for Cloudflare Pages is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 73/100 on our health check.
- Aktiv entwickelt — letztes Update vor 2 Wochen
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where StaticForge for Cloudflare… stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| cloudflare | #54 |
| deploy | #91 |
| SEO | >100 |
| sitemap | >100 |
| static site | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 1 reviews
About StaticForge for Cloudflare Pages
From the official readme · v1.9.1Beschreibung
StaticForge for Cloudflare Pages turns your WordPress site into a static site that lives on Cloudflare Pages, automatically. On every publish or update of any selected post type, the plugin renders your whole site to static HTML, injects a complete SEO metadata baseline (when no other SEO plugin is present), inlines all linked CSS so pages are self-contained, mirrors your sitemap structure, ships an editable robots.txt, and pushes everything to Cloudflare Pages via the Direct Upload API.
The WordPress install (your “dashboard”) becomes the editor only. Public visitors hit the static deployment on Cloudflare’s edge — fast, free, and resilient.
Key features
- Whole-site export — homepage, posts, pages, custom post types, taxonomy archives, author archives.
- TranslatePress multilingual export — auto-detects TranslatePress and adds every secondary-language URL to the export so each language renders to static HTML in the deploy. Works with subdirectory mode (
/fr/,/de/); subdomain/separate-domain language URLs are skipped (one Cloudflare Pages project serves one host). Auto-on when detected; opt out via thesforge_translatepress_exportfilter. - Theme-independent — works with any theme. Renders pages exactly as a real visitor would see them.
- Inlined CSS — all
<link rel="stylesheet">tags are fetched and embedded as<style>blocks. Each deployed page is fully self-contained. - Featured image LCP boost — auto-adds
fetchpriority="high",loading="eager",decoding="async"to the post’s featured image so the browser prioritises it as the LCP candidate. Improves Core Web Vitals on every theme that usesthe_post_thumbnail()orget_the_post_thumbnail(). - Built-in SEO metadata injection — when no other SEO plugin is detected, automatically emits a full baseline:
<meta description>— smart fallback chain (excerpt → trimmed content → user bio → term description → site tagline).<meta robots>withindex, follow, max-image-preview:largeand friends.<link rel="canonical">.- Open Graph:
og:type,og:title,og:description,og:url,og:site_name,og:locale,og:imagewith dimensions and alt;article:published_time,article:modified_time,article:author,article:section,article:tagon posts;profile:first_name,profile:last_name,profile:usernameon author pages. - Twitter Card —
summary_large_imagewhen an image is available, otherwisesummary; title, description, image, creator.
- Rich JSON-LD schemas — auto-emitted in
<head>:WebSite+SearchAction,Organizationon every page.Articlewith linkedauthorPerson,publisherOrganization, image, dates, articleSection, keywords on single posts.WebPagewithprimaryImageOfPageon pages and custom post types.Person+ProfilePageschema on author archives — display name, URL, bio, avatarImageObject(256×256),sameAssocial links pulled fromuser_urland Twitter/Facebook/LinkedIn/Instagram/YouTube/GitHub user meta.CollectionPagefor taxonomy and term archives.BreadcrumbListon all singulars and archives.- Auto-detected
FAQPage— extracts Q/A pairs from Yoast / Rank Math / SEOPress FAQ blocks, OR native HTML5<details><summary>markup. - Auto-detected
HowTo— extracts steps from Yoast / Rank Math HowTo blocks, OR posts whose title starts with “How to” + has an ordered list with 3+ items.
- Two-tier dedup safety — auto-disables to avoid duplicates:
- General SEO plugins (skip ALL our injection): Yoast, Rank Math, All in One SEO Pack (v4+ & legacy), SEOPress, The SEO Framework, Slim SEO, Squirrly, SmartCrawl, WP Meta SEO.
- Schema-only plugins (skip ONLY our JSON-LD; meta + og still emit): Schema & Structured Data for WP & AMP (saswp by Magazine3), Schema Pro by Brainstorm Force, WPSSO Core, Schema (by Hesham), Schema App, and Magazine3 Schema variants.
- Override via setting or filters (
sforge_seo_competing_plugin,sforge_schema_competing_plugin).
- Sitemap mirroring + fallback generation — discovers
/sitemap.xml,/sitemap_index.xml,/wp-sitemap.xml, follows index files, fetches child sitemaps, handles CDATA-wrapped<loc>entries, rewrites origin URLs to your live domain (including protocol-relative//hostvariants), and strips<?xml-stylesheet ... ?>directives so the dashboard host doesn’t leak into browser-rendered sitemap views. Bundles them all in the deploy. When the origin exposes no sitemap (no SEO plugin, WP core sitemap disabled, sub-directory install with non-standard paths, etc.), the plugin builds a standards-compliant<urlset>sitemap.xmlitself from the crawled URL list — with<lastmod>resolved fromget_post_modified_time(),<changefreq>weekly</changefreq>, and<priority>(1.0 home / 0.7 elsewhere). Live site always ships a sitemap. - Self-hosted font bundling (fixes font CORS errors) — a
@font-facefont still pointing at your WordPress host is a cross-origin request once the page is served from*.pages.dev, and browsers block it because the origin sends noAccess-Control-Allow-Originheader. The plugin scans each rendered page for.woff2 / .woff / .ttf / .otf / .eotfiles on your own host, ships them inside the deploy, and rewrites their URLs to your Public Site URL so they load same-origin. Covers theme webfonts, icon fonts, and Astra’s local Google Fonts (wp-content/astra-local-fonts/). Third-party fonts (Google Fonts onfonts.gstatic.com, etc.) already send CORS headers and are left alone. On by default. - Extra paths to include — bundle files and folders the crawler never sees in the rendered HTML: a plugin’s icon font (e.g. Elementor’s Font Awesome), a webfont directory, a downloadable PDF. List them one per line relative to your WordPress root and they’re copied straight off local disk into the deploy, with their
/wp-content/*URLs pointed at the live host so the deployed page loads the bundled copy. A bare path is also looked up underwp-content/if it isn’t found at the root. Folders recurse, single files copy as-is, trailing wildcards (*.pdf) expand. Confined to the WordPress root; capped at 5,000 files / 200 MB per rebuild. - Granular sitemap generator settings — when the fallback runs, you control exactly what gets listed: per-public-post-type checkboxes, include/exclude homepage, taxonomy archives, author archives, and an option to split the output into a
<sitemapindex>referencing per-type sub-sitemaps (sitemap-post.xml,sitemap-page.xml,sitemap-authors.xml,sitemap-taxonomy-category.xml, etc.) for cleaner Search Console submission. Independent of Export Scope. Filtersforge_sitemap_groupsto mutate the URL list. - Editable robots.txt for the live site with auto-managed Sitemap: line — leave blank to auto-generate, or paste your own
Allow:/Disallow:rules. AnySitemap:directive you type is stripped and replaced with the URL of the actually-deployed sitemap (sitemap.xml/sitemap_index.xml/wp-sitemap.xml/ etc.) so robots.txt never points at a dead URL. Independent of the dashboard’s own robots.txt. - Dashboard auto-noindex on activation (social-aware) — when the plugin activates it locks the WordPress install out of search engines (so editors only ever appear via the static deployment). Social/messaging/preview scrapers (Facebook, LinkedIn, Twitter/X, Pinterest, WhatsApp, Slack, Discord, Telegram, Applebot, Reddit, Tumblr, Mastodon, Bluesky, iframely, Embedly) are explicitly allowed
/wp-content/uploads/so og:image previews and oEmbed thumbnails still resolve when a post is shared. Four enforcement layers, all bypassed when the plugin’s own renderer fetches a page (detected viaX-SFORGE-Exportheader), and additionally bypassed for social-scraper user agents and/wp-content/uploads/requests:- Physical
robots.txtat webroot withDisallow: /(any existing file is backed up torobots.txt.sforge-backupand restored on deactivation). robots_txtWordPress filter for the dynamic fallback.wp_robotsfilter addingnoindex,nofollowto the meta robots tag.send_headersaction emittingX-Robots-Tag: noindex, nofollow, noarchive, nosnippetHTTP header on every response.
Toggle via the Block dashboard from search engines setting (default on); flipping the toggle applies/restores the physical robots.txt instantly.
- Physical
- Defensive noindex stripping — removes
noindex/nofollow/noarchivedirectives from rendered HTML before deploy, so your live site stays indexable even if the source dashboard is locked down. - Auto-deploy on publish/update — debounced (default 120s) so rapid edit clusters collapse into one deploy.
- Cloudflare Pages Direct Upload — no Git integration required. Uses the official content-addressable upload API: only changed assets are re-uploaded across deploys.
- Live progress UI — activity log auto-refreshes every 4 seconds with batch-by-batch upload progress, render percentages, and a status pill (Idle / Queued / Working).
- Setup Guide built in — full walk-through for Cloudflare Pages project creation, API token setup, and plugin configuration, all inside WP admin.
Wie es funktioniert
- On publish/update, plugin queues a full-site rebuild via
wp_schedule_single_event. - Crawler builds URL list (homepage + all published posts/pages of selected types + taxonomy term archives + author archives).
- SEO injector hooks into
wp_headand emits meta + JSON-LD for the rendering page (skipped if another SEO plugin is active). - Renderer fetches each URL via
wp_remote_get, inlines CSS, rewrites origin URLs to your live domain, strips defensive noindex meta and admin-bar artefacts. - SEO module discovers and mirrors
/sitemap.xml,/sitemap_index.xml,/wp-sitemap.xmland any child sitemaps; if none found, auto-generatessitemap.xmlfrom the crawled URL list. Emits the configuredrobots.txt. - Deployer hashes each file, asks Cloudflare which assets are new, uploads only the new ones in batches (100 files / 25 MiB each), then creates a deployment via multipart/form-data.
- Result: a new Cloudflare Pages deployment URL, logged with a clickable link.
What is NOT bundled
By default, files under /wp-content/uploads/, theme assets, plugin assets, and fonts under /wp-content/ are kept pointing at your WordPress origin so they keep working without re-uploading multi-gigabyte media folders. Make sure your origin is reachable over HTTPS (proxy through Cloudflare if your origin’s SSL cert is fragile).
If your origin can’t be reached from Cloudflare (shared hosting firewall, IP allow-list, no proxy option), enable Export Scope → Bundle /wp-content/uploads/ into deploy. The plugin then fetches every uploads URL referenced in the rendered HTML and ships those files inside the CF Pages deploy itself — no origin dependency at runtime. Theme/plugin assets still load from origin. See the Bundle /wp-content/uploads/ (recommended for shared hosting) section below.
Why this plugin
- Simpler scope — Cloudflare Pages only, Direct Upload only.
- Built-in setup walkthrough, no docs hunting.
- Live progress UI with granular per-batch logging.
- Free tier compatible — no build minutes consumed.
- SEO baseline included — no extra plugin needed for tags + JSON-LD.
- No external dependencies, no SaaS, no premium tier.
Externe Dienste
This plugin connects to the Cloudflare Pages API (https://api.cloudflare.com/client/v4) to deploy your exported static site. This is required core functionality — without it the plugin cannot upload your site to Cloudflare.
What the service is and what it is used for:
Cloudflare Pages is a static site hosting platform operated by Cloudflare, Inc. The plugin uses the Cloudflare Pages Direct Upload API to publish your statically rendered WordPress site to a Cloudflare Pages project that you create and own.
What data is sent, and when:
The plugin contacts the Cloudflare Pages API on these occasions:
- When you click Test Connection in the plugin settings. Sent: your Cloudflare API token (in the
Authorizationheader), your Account ID, and your Pages project slug. Used to verify the project exists and the token has access. - When you click Rebuild + Deploy Now, or after any post/page/CPT publish/update if Auto-deploy is enabled (debounced). The plugin: (1) requests a short-lived upload JWT from
/pages/projects/{project}/upload-token; (2) sends a list of SHA-256 hashes of the files in the export to/pages/assets/check-missingto find which files Cloudflare does not already have; (3) uploads only the missing assets (HTML, CSS, JS, images, sitemap.xml, robots.txt) to/pages/assets/upload; (4) POSTs a final deployment manifest + branch name to/pages/projects/{project}/deployments. All requests include your API token in theAuthorization: Bearerheader.
What is NOT sent: the plugin never sends WordPress database credentials, user passwords, post drafts, private content, settings beyond the four Cloudflare credentials, or any analytics/telemetry beacons. Only the rendered public HTML/CSS/JS/asset files that already make up your site are uploaded — the same content visitors would see.
Cloudflare Pages service links:
- Cloudflare Pages product page: https://pages.cloudflare.com/
- Cloudflare API documentation: https://developers.cloudflare.com/api/
- Cloudflare Terms of Service: https://www.cloudflare.com/website-terms/
- Cloudflare Self-Service Subscription Agreement (covers Workers & Pages): https://www.cloudflare.com/terms/
- Cloudflare Privacy Policy: https://www.cloudflare.com/privacypolicy/
You retain full ownership and control of your Cloudflare account, Pages project, API token, and deployed content. To stop using the service, revoke the API token in your Cloudflare dashboard and deactivate the plugin.
Über
Built by Gunjan Jaswal. Bug reports, feedback: hello@gunjanjaswal.me.
Installation
- Upload the
staticforge-for-cloudflare-pagesfolder to/wp-content/plugins/, OR install the zip via Plugins → Add New → Upload Plugin. - Activate StaticForge for Cloudflare Pages through the Plugins menu.
- Go to StaticForge for Cloudflare Pages in the admin sidebar.
- Open the Setup Guide (linked at the top of the settings page) and follow the 6 steps:
- Create a Cloudflare Pages project in Direct Upload mode.
- Create an API Token with
Account → Cloudflare Pages → Editpermission. - Copy your Cloudflare Account ID.
- Paste those values + project slug +
mainbranch + your<project>.pages.devURL into the plugin settings. - Save → Test Connection → Rebuild + Deploy Now.
Änderungsprotokoll
Adds an optional Cloudflare Pages _headers file with baseline security headers (nosniff, SAMEORIGIN, Referrer-Policy). Off by default.
1.9.1
- Tested and confirmed compatible with WordPress 7.1.4.
1.9.0
- New: optional security headers. Tick it in Settings and every deploy ships a Cloudflare Pages
_headersfile that sends X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN and Referrer-Policy: strict-origin-when-cross-origin for the whole site. Cloudflare Pages reads the file natively, and developers can tailor it with thesforge_headers_filefilter. Off by default.
1.8.5
- Docs: added an FAQ (readme + in-plugin Help) for the “my page is huge and blows past the 25 MiB limit” case — why a missing stylesheet that soft-404s to an HTML page causes it, Elementor’s Google-fonts cache being the usual trigger, and the Elementor → Tools → Regenerate CSS & Data step to restore the missing file. Documentation only; the code fix shipped in 1.8.4.
1.8.4
- Fix: the Inline CSS option now refuses to inline a stylesheet URL that returns HTML instead of CSS. A missing stylesheet often “soft-404s” — the server answers with a 200 status and a full HTML page rather than a real 404. The classic case is Elementor’s cached Google-fonts CSS (
.../uploads/elementor/google-fonts/css/roboto-<host>.css): when that cache is regenerated under a different hostname the old file no longer exists, so the site returns the homepage for it. The plugin was embedding that entire HTML page into a<style>block as if it were CSS, and with several such files on a page the exported HTML ballooned to tens of megabytes — well past Cloudflare’s 25 MiB per-file limit. Fetched stylesheets are now validated by content type and content, and anything that is actually HTML is skipped (the original<link>is left in place). If you hit this, also regenerate Elementor’s font cache (Elementor → Tools → Regenerate CSS & Data) so the missing file comes back.
1.8.3
- Fix: the Inline CSS option no longer inlines the same stylesheet more than once. Page builders such as Elementor emit the same
<link rel="stylesheet">many times over, and the plugin was embedding the full CSS body into every occurrence — inlining, for example, WordPress core’s 131 KB block-library stylesheet 15 times on a single page, ballooning the HTML into megabytes and, on heavy pages, past Cloudflare’s 25 MiB per-file limit. Each unique stylesheet is now inlined once and the duplicate<link>tags are dropped. Rendered pages look identical; on a real Elementor homepage this cut the exported HTML by roughly 5x.
1.8.2
- Fix: oversized files no longer break a deploy with a cryptic “Asset upload failed: unknown”. Cloudflare Pages rejects any single file above 25 MiB; the plugin now checks file sizes before uploading, names the offending file and its size in the activity log (“Skipping … exceeds Cloudflare’s 25 MiB per-file limit”), skips it, and deploys everything else instead of failing the whole run.
- Improved: when Cloudflare returns an error without its usual JSON body (a 413, a 5xx, a gateway timeout), the log now shows the HTTP status — e.g. “Asset upload failed: HTTP 413 Payload Too Large” — instead of a bare “unknown”, so the real cause is visible.
- Docs: updated the deploy-error FAQ (readme + in-plugin Help) to cover the new messages and where to host files that are too big for Cloudflare Pages.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best StaticForge for Cloudflare Pa… alternatives
All cloudflare plugins →Fragen und Antworten
StaticForge for Cloudflare Pages: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is StaticForge for Cloudflare Pages free?
Yes. StaticForge for Cloudflare Pages is free to download and use from the official WordPress.org plugin directory.
Is StaticForge for Cloudflare Pages safe to use in 2026?
StaticForge for Cloudflare Pages is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 73/100 on our health check.
How many websites use StaticForge for Cloudflare Pages?
StaticForge for Cloudflare Pages is active on 10+ WordPress websites and has been downloaded 1,453 times since it launched in May 2026. It was downloaded 168 times in the last 30 days.
Does StaticForge for Cloudflare Pages work with WordPress 7.1?
Yes. The developer has tested StaticForge for Cloudflare Pages up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does StaticForge for Cloudflare Pages need?
StaticForge for Cloudflare Pages requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was StaticForge for Cloudflare Pages last updated?
The latest version, 1.9.1, was released on November 18, 2026 (2 weeks ago).
Who makes StaticForge for Cloudflare Pages?
StaticForge for Cloudflare Pages is developed and maintained by Gunjan Jaswal.
What are the best alternatives to StaticForge for Cloudflare Pages?
The most popular alternatives to StaticForge for Cloudflare Pages are Simple CAPTCHA with Cloudfl… (200K+ installs), Cloudflare (200K+ installs) and Flexible SSL for CloudFlare (100K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


