148 articles
Knowledge Base
Cloudflare
148 articles in the Cloudflare category · page 5 of 7.
- SPF failures after putting Cloudflare in front of a cPanel server Mail still leaves from the origin IP, but an SPF record built on the a mechanism now resolves to Cloudflare edge addresses. Why softfails start after the orange cloud, and the rewrite that fixes it.
- SPF on Cloudflare done right: origin IP, provider includes, and the 10-lookup limit One TXT record at the apex, the real origin IP spelled out, provider includes counted against the 10-lookup budget. How to build an SPF record on Cloudflare that passes instead of permerrors.
- Split-horizon DNS vs Cloudflare: when internal and public answers fight The site works from home but not the office, VPN users reach the wrong server, and intranet names started resolving publicly. Two authorities are answering for the same zone name — here is how to make them coexist on purpose.
- Stale content after a deploy behind Cloudflare: purge patterns that actually work The deploy went out, the origin has the new build, and users are getting old CSS, broken styling, or missing JS chunks. The edge is still serving the previous build. Here is why deploys and caches fall out of sync and the pipeline order that keeps them together.
- Subdomain not resolving after moving to Cloudflare: finding the missing record The main site works but a subdomain returns NXDOMAIN or a connection error since the zone moved to Cloudflare. Usually the record was never created, the import scan missed it, or a cached negative answer is in the way.
- The proxied-MX mistake: why mail hostnames must stay DNS-only on Cloudflare If the hostname your MX points at is orange-clouded, senders connect to a Cloudflare edge IP that does not speak SMTP. One toggle causes the outage and one toggle ends it — here is how to spot it.
- The quarterly Cloudflare zone review: a maintenance baseline against drift Cloudflare zones do not break loudly — they drift: stale DNS records, rules nobody owns, expiring origin certs, firewall lists from two years ago. A one-hour quarterly checklist that catches all of it.
- Trailing-slash cleanup on Cloudflare: one URL form, no duplicate content When /page and /page/ both return 200, search engines index duplicates and the edge caches everything twice. Here is how to pick one form and enforce it with a single Redirect Rule — without looping against the CMS.
- Turnstile on your forms: the CAPTCHA replacement, set up properly Cloudflare Turnstile verifies humans on your forms without puzzles, free, on any site. Widget modes, the server-side check everyone skips, and the failure modes that make it silently useless.
- Universal SSL stuck on Pending: getting Cloudflare's edge certificate to issue A new zone's Universal certificate normally issues within minutes. When it sits on Pending Validation for hours and visitors get handshake errors, the blockers are predictable: the zone is not actually active, a CAA record forbids Cloudflare's CAs, or the pipeline needs a nudge. The checklist, in order.
- WebSockets and SSE through Cloudflare: timeouts, dropped connections, and the 100-second rule Cloudflare proxies WebSockets on every plan and passes Server-Sent Events through fine — until a quiet connection hits the ~100-second window or an edge reload drops it. Heartbeats, reconnect logic, and knowing which timeout is whose.
- Why reverse DNS (PTR) is not set in Cloudflare — and where it actually lives You will not find a working PTR toggle for your server in the Cloudflare dashboard, because reverse DNS belongs to whoever owns the IP: your hosting provider. Where to set it and how to prove it matches.
- Wildcard DNS on Cloudflare: matching rules, proxy status, and certificate depth A *.example.com record catches every hostname you never defined — including the ones you did not mean to serve. How wildcard matching really works, what proxying a wildcard covers on Free, Pro, and Business, and where TLS depth becomes the limit.
- WooCommerce edge caching on Cloudflare Free/Pro without APO: the bypass-cookie recipe You can cache WooCommerce HTML at the Cloudflare edge without paying for APO — if the bypass rules for cart cookies and checkout paths are exactly right. The full Cache Rules recipe, with verification.
- WordPress canonical conflicts behind Cloudflare: site URL mismatch and CDN hostname canonicals The rel=canonical tag points at the wrong host, WordPress 301s against your edge rules, or Google starts indexing cdn.example.com. All three trace back to the same thing: WordPress and the edge disagree about the canonical URL. Here is how to realign them.
- WordPress redirect loop behind Cloudflare: HTTPS detection and plugin conflicts ERR_TOO_MANY_REDIRECTS on a WordPress site behind Cloudflare is almost always broken HTTPS detection under Flexible SSL, or two plugins fighting over the same redirect. Here is how to find the layer at fault and fix it.
- WordPress REST API blocked by Cloudflare security: Jetpack, mobile apps, and integrations failing When Cloudflare challenges or blocks /wp-json/, everything that talks to WordPress remotely breaks — Jetpack, the mobile apps, Zapier, headless frontends. How to find the setting and write allow rules that stay safe.
- WP Rocket and Cloudflare together: who owns the page cache Two caches with no coordination means stale pages and purge races. How to split responsibilities between WP Rocket and Cloudflare, what the add-on actually does, and the settings that stop them fighting.
- wp-cron not firing behind Cloudflare: missed schedules, stuck emails, silent backups Edge caching starves wp-cron of the page hits that trigger it, and Cloudflare security can challenge the loopback request outright. Why scheduled tasks die behind the proxy and how a real cron fixes it for good.
- wp-login.php challenge loop: locked out of your own WordPress by Cloudflare You protected wp-login.php with a Cloudflare rule and now the challenge page loops — for you. Challenge versus block semantics, clearance cookies, IP allowlists, and a login defense that never locks out the admin.
- www to apex redirect not working on Cloudflare: the DNS record www needs The redirect from www.example.com to example.com does nothing, times out, or throws a DNS error. Nine times out of ten the www hostname has no proxied DNS record, so the edge never gets the chance to redirect. Here is the check and the fix.
- Multi-layer caching architecture — edge, page, object, database How four cache tiers — CDN/edge, full-page, application object cache, database query cache — fit together. Request lifecycle, invalidation strategies, operational hazards.
- WordPress caching — LiteSpeed Cache vs Cloudflare APO vs object cache A decision framework for the three caches WordPress operators argue about — LiteSpeed Cache plugin, Cloudflare APO, Redis object cache. What each one accelerates, where each falls short, the stack that works.
- Cloudflare Transform Rules: rewrite URLs and modify request/response headers Transform Rules cover URL rewrites, request-header changes, and response-header changes. Static vs dynamic expressions, real examples that strip tracking params, force a header, and attach a Permissions-Policy.