Skip to main content

HOW TO: Use Cloudflare Workers to enable Basic Auth on a subdirectory

Here’s a neat way to protect any subdirectory or URL with Basic Auth using Cloudflare Workers – no .htaccess or htpasswd required!

Scaling for VOLUME with Frontity & Cloudflare

Can we achieve half a million visits in 60 seconds on entry-level hardware? With Frontity and Cloudflare, the answer may surprise you.

HOW TO: Use Cloudflare to handle Country-based redirects

Do you have a multilingual or multi-regional website that automatically redirects users based on their country? This is for you.

HOW TO: Use Cloudflare to reverse proxy a subdirectory

You need to serve a complete site through a “subdirectory” (ie. /news or /blog) without being able to move it. Cloudflare to the rescue!

HOW TO: Serve WordPress from a subdirectory (no .htaccess)

This is not a proxy method – we’ll be “physically” serving Wordpress from a subdirectory without relying on .htaccess (FPM-compatible).

Security Headers for Headless: Frontity & Apache

Beef up your security by setting security headers. Here’s how to do it with Apache (Nginx method linked).

HOW TO: Block traffic coming from a specific domain

Inbound links are awesome. Except for when they’re not. Here’s how to stop bad ones…

HOW TO: Cache the WordPress REST API Post endpoint in Cloudflare

With this method using Apache, Node, Frontity and Cloudflare, you can start imagining how to get your site to 100% uptime.

HOW TO: Strip WPBakery Page Builder “VC” shortcodes from all posts and pages

Need a quick way to strip WPBakery Page builder shortcodes like [vc_row], [vc_column], etc. from your posts and pages? Use WP Cli with –regex!

HOW TO: Pre-install a Let’s Encrypt SSL cert BEFORE pointing your DNS

Learn how to pre-install a Let’s Encrypt SSL certificate before pointing your DNS to WP Engine during a migration or host switch.