Themeisle content is free. When you purchase through referral links on our site, we earn a commission.
Want to set up Cloudflare for WordPress?
Cloudflare is a free content delivery network (CDN) and security service. Once you connect your WordPress site to Cloudflare, you’ll be able to speed up your site with the CDN, secure it with SSL and bot protection, and implement some other useful features.
In this Cloudflare for WordPress tutorial, you’ll learn how to:
- Set up your WordPress site with Cloudflare
- Configure the official Cloudflare plugin
- Use Cloudflare to enable HTTPS to get the green checkmark
How does Cloudflare benefit your WordPress site?
If you’re not familiar with Cloudflare, here’s a rapid-fire list of some of the benefits of using Cloudflare for WordPress:
- CDN – Cloudflare’s content delivery network helps speed up your site by serving your static content from a huge network of global servers. Cloudflare is the most popular free CDN service.
- SSL – if your site doesn’t already have an SSL certificate, Cloudflare can help you use HTTPS on your WordPress site to get the green padlock in visitors’ browsers.
- DNS – Cloudflare is one of the fastest DNS providers, which can speed up your site’s time to first byte (TTFB).
- Security rules – Cloudflare lets you set up custom security rules to secure specific parts of your site, like your WordPress dashboard.
- DDoS protection – Cloudflare can help you protect against distributed denial of service (DDoS) attacks. It can also help you just generally filter out malicious traffic.
- Other performance benefits – Cloudflare can help you minify your code, enable Brotli compression, and implement other performance best practices.
How to set up Cloudflare for WordPress
Before you can start configuring the other options in Cloudflare, you need to connect your site to Cloudflare.
Cloudflare is what’s known as a reverse proxy service. You don’t really need to know what that means – but what you do need to know is this:
In order for Cloudflare to work, it needs to be able to manage your domain’s nameservers so that it can serve up cached content from its CDN and filter out malicious actors (if you enable the security features).
To do that, you’ll need to change your domain’s nameservers to Cloudflare, which is what most of the basic setup process entails.
Here’s how to do it…
1. Create your free Cloudflare account
To get started, go to Cloudflare and sign up.
On the next page, enter the domain name of the WordPress site that you want to use with Cloudflare and click Add site:
Next, you’ll be prompted to choose a plan. You can choose the Free
This article was written by Colin and originally published on ThemeIsle Blog.