Skip to main content
Image alt

category: SEO

HOW TO: Set a variable HOME and SITEURL based on the requested domain

Serve the domain part of a URI based on the domain the client loads your Wordpress site on (ideal for reverse proxies or staging sites).

HOW TO: Make content creators lives easier with machine learning

Use machine learning tools to boost SEO, improve ElasticSearch and help writers concentrate on what they do best… write.

HOW TO: Configure WordPress to support multiple Environments

Wordpress now has a way to know which instance it’s loading on (ie. dev, staging, prod) and automatically execute code specific to each.

Handle high traffic by sanitising social media traffic in nginx

Absorb large social media marketing traffic like you never did before, with this sneaky nginx rewrite to help out your cache.

403Page is now open source!

Today we did something cool! We published the Frontity theme used for 403page.com (what you’re looking at right now). Come get it…

HOW TO: Support .webp on Cloudflare’s edge with a Worker

A method to serve .webp to supported browsers only using Cloudflare workers (and optionally Webp Express).

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).

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…

[SOLVED] Broken Sitemap.xml: Error line 2 at column 6

Here’s how to fix the “error line 2 at column 6…only at the start of the document” sitemap.xml issue and why it happens in the first place.