How to Add Cloudflare to WordPress
Written by Nile Flores WordPress Expert
March 14, 2023
Wordpress
Website speed is important and over 70% of consumers admit that while shopping online. Even if you use a cache plugin, you need to worry about how your website loads for customers that are located farther from the web server that hosts it. That’s where a CDN like Cloudflare comes into play. In this article you’ll learn a bit about Cloudflares, CDNs, why you might need it, as well as how to add Cloudflare to WordPress.
What is Cloudflare?
Cloudflare is a company that provides a network of servers across the world that delivers a fast and safe version of your website to your visitor, wherever they may be located. With their security, especially at their free pricing tier, Cloudflare can help reduce bad bots from reaching your website. Cloudflare offers both free services, and paid services, depending on what you need.
Essentially, when you sign up with Cloudflare and add your website, they scan your website and save a copy of it. That saved copy if distributed to their proxy servers around the globe. This might seem confusing, as it may look like they become your web host instead of the one you paid for. That isn’t the case.
Cloudflare merely has a copy. If you change your WordPress site, whether it’s publishing a new page or post, or changing the entire theme, Cloudflare will continue to monitor and scan your site for an updated copy to deliver on their network.
What is a CDN?
A CDN is short for content delivery network. It is a globally distributed network of servers designed to give better website performance. For example, if your web host server is located in the US, but your website uses Cloudflare, and your customer is located in Australia, Cloudflare delivers a copy of your site on their network server that’s located closer to Australia. This allows your website to load a lot faster for them, even a couple seconds, than without a CDN.
Why would you need a CDN?
As a website owner, if your website isn’t secure or loading fast, you’re eventually going to see that you’re losing potential customers or you’re welcoming bad bots to try to hack your website. Your site should load within 0-4 seconds. Even if you optimize WordPress for site speed or add some security layers to your website, you can do better. A CDN adds a boost of speed because it’s faster for your customer to access the closet copy of your site. Additionally, a CDN provides an added blanket of security focused on catching and denying bad bots from reaching your website.
How to Add Cloudflare to WordPress in 3 Steps
To add Cloudflare to WordPress, you will need to register for an account. Registering is free.
Once you’ve signed up and verified your email address, you should be able to access your Cloudflare dashboard. Here are the steps on how to add Cloudflare to WordPress:
Click Add Site to let Cloudflare scan your website.
Check your DNS settings that Cloudflare found.
Change your Nameservers (DNS).
Click Add Site to let Cloudflare scan your website