Cloudflare Docs
Support
Support
Visit Support on GitHub
Set theme to dark (⇧+D)

How do I use WordPress Multi-Site (WPMU) With Cloudflare?

​​ Overview

WPMU (WordPress Multi-User) is the earlier version of WordPress Multi-Site, which is now part of the core WordPress software.

To use a WPMU site configuration with Cloudflare, do the following:

1. Add the apex domain (also known as “root domain” or “naked domain”, e.g. example.com) to Cloudflare and point the DNS to Cloudflare, using the Cloudflare nameservers specified during the signup process and making the DNS change at your registrar.

2. Define the wildcard subdomains in your DNS zone file during the signup process. Cloudflare cannot proxy wildcard DNS entries, so to benefit from Cloudflare performance and security, you must explicitly define any entries in your zone file as either CNAMEs or A record entries.

Note: Having a proxy run over wildcard entries is available only at the Enterprise tier of service. The information above is related to customers on other Cloudflare plans. If you are looking for Enterprise support or quotes, then please create an  Enterprise request via the form for a quote.

Other recommended steps:

1. Install the  Cloudflare WordPress plugin to restore original visitor IP at the WordPress commenting level.

2. Restore visitor IP addresses so original visitor IP is restored at your server level.