Web Technologies that make Entrepreneur

How To add CloudFlare CDN on WordPress that Make Sense

Cloud Flare is best of CDN service let;s set it on wordpress site to boost performance of site

0 1,223

Introduction

One of the most important parts of building your websites, is making sure they load fast. It’s not a surprise – these days web page loading speed is an important factor for search engine rankings. There are many ways to speed up WordPress websites, for example, using a caching plugin, optimizing images or using a Content Delivery Network (CDN) like cloudflare. The best results can be achieved using all these methods in conjunction.

In this tutorial, you will learn to setup CloudFlare for your WordPress blog and configure WordPress CloudFlare plugin.

What is CloudFlare CDN

CloudFlare is a content delivery network which acts as a proxy between the website and visitor. It serves cached static content from the nearest location (CloudFlare has multiple servers around the globe), thus making website loading speed faster. Moreover, CloudFlare handles all requests to a website and can offer more useful services compared to traditional CDN:

  • DDoS attack mitigation
  • Analytics on all requests made to a website
  • Easy SSL certificate installation
  • Network gateway between protocols

Before Starting this article find more about CDN( will open in new tab)


What you’ll need

Before you begin this guide, you’ll need the following:

  • Access to your domain name registrar control panel(For Change DNS)
  • Access to WordPress admin area( For Plugin installation )

Step 1 — Creating CloudFlare Account

Navigate to official CloudFlare website and click Sign Up button in order to create an account on CloudFlare. Fill all the required details and create an account.

Setup Free And Premium CloudFlare CDN on WordPress Site

Step 2 — Adding Domain Name

After you have signed up with CloudFlare, you will be prompted to add your website window. Enter your website domain name and click on Scan DNS Records button in order to proceed.

Setup Free And Premium CloudFlare CDN on WordPress Site

 

Step 3 — Checking DNS Records

After the scan has been finished, you will be prompted with your domain name DNS details. In this step, you can enable or disable CloudFlare for specific subdomains. Orange Cloud enables the CloudFlare and Grey Cloud disables the CloudFlare for a specific DNS record.

Setup Free And Premium CloudFlare CDN on WordPress Site
Image credit – hostinger.com
IMPORTANT: It’s not recommended to enable CloudFlare for cpanelmailftp or any other system reserved subdomains as it can result various DNS issues.

Step 4 : Select A Plan

On the next page you will need to select a Cloudflare plan. We recommend starting with the free plan, which works for most users. Then click “Continue.” You can read more about the differences in Cloudflare’s plans.

 

Setup Free And Premium CloudFlare CDN on WordPress Site

Step 5 : Change Domain NameServer

You will then need to change the nameservers on your domain to point to Cloudflare (use the ones they provide). Because Cloudflare is a full proxy service, basically how it works is you point your domain to Cloudflare, and Cloudflare then points your domain to hosting provider. There is no downtime when you switch your nameservers. Here are a couple links to documentation with different domain registrars on how to change them.

Setup Free And Premium CloudFlare CDN on WordPress Site

Note: that it may take up to 24 hours for changing DNS. Your website will not face any downtime during this process.

Step 5 – Installing CloudFlare Plugin

Login to your WordPress admin area and install CloudFlare WordPress plugin.

Setup Free And Premium CloudFlare CDN on WordPress Site

Install the plugin and Activate it. after successful activation go to Plugin Setting in the setting there is option for enter cloudflare credentials that is email and API key. For getting API key again go to cloudflare site and take API key from there in next step.

Setup Free And Premium CloudFlare CDN on WordPress Site

 

Step: 6 Get API

Visit to cloudflare site and go to dashboard section there is option for get API click on it and then you will see two types of API here Global or Origin API. Select Global API and view its API key copy this key.

 

Setup Free And Premium CloudFlare CDN on WordPress Site

After copy API go to WordPress CloudFlare plugin and enter email and API key and click on Save API Credentials. after success full this step time to configure Cloudflare plugin.

Step : 7 Configure Plugin

When transferred to your CloudFlare settings page, click on Apply button under Apply Default Settings section. You can use default CloudFlare settings for WordPress websites.

 

It’s highly recommended to enable Automatic Cache by clicking on Apply button in Automatic Cache section. Enabling Automatic Cache purge will clear the entire CloudFlare cache when your website design is updated.

Setup Free And Premium CloudFlare CDN on WordPress Site

Conclusion

Congratulations, you have learned to activate CloudFlare for your blog and configure CloudFlare WordPress plugin. This is a great way to speed up your website and protect it against DDoS attacks.

 


Here’s What You Should Read Next :

How To add CloudFlare CDN on WordPress that Make Sense
4 (80%) 4 votes
Subscribe to our newsletter
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More