How to Setup CloudFlare Free CDN in WordPress site!
In the last article, we talk about How does CDN increase the performance of your site?If you want to learn online marketing especially SEO(Search Engine Optimization) you must know how does CDN benefits to your website. if you have missed the article, then just click on the link.
In this you will see how to setup CloudFlare CDN for your WordPress site. Before dipping the entire process, you need to know what you need to know before.
Firstly; Of course, your domain name registrar must have access to the control panel, because you have to point your domain to the CloudFlare name server. That is, when the visitor’s request for your website, CloudFlare can serve the visitor through the CDN service.
Secondly; You must have access to the WordPress control panel. If you have these two accesses, then let’s start the rest of the process …
Step 1 – Create CloudFlare Account:
At first, you have to go to the Official CloudFlare website and need to create an account. At the top right of the site, you will see a sign-up button, which you need to click on a sign-up form, and by filing it sign up the account. It is easy to sign up here, just entering the mail address and password. If you already have an account made in CloudFlare, then just skip this step.
Step 2 – Adding Domain to CloudFlare
With an email password entered, you will be requested to add a domain to your account. Now you have to enter your website domain in the blank room below and click the scan DNS record button. After clicking here, it may take a few minutes to scan the DNS record, so be patient.
Step 3 – Checking DNS records At CloudFlare
After the above-mentioned scan process has been completed, you will see the scanned report of the third step of your domain. You can enable or disable CloudFlare in different sub-domains. I prefer to enable CloudFlare for your naked domain name and for the WWW sub-domain. This will also work for both naked and un-naked www. domain. Once the domain is selected, click the continue button.
Step 4 – Points your domain to the CloudFlare name server
After selecting the step above, you will be asked to select a CloudFlare Plan. You choose the free plan and click the Continental button.
Now you will be given the CloudFlare Nameserver, login to your domain registrar control panel, and replace your domain name server with the CloudFlare name server. Note that the control panels of different domain providers are different here. If you do not understand how to change the name server, contact your domain provider or tell me your problem by commenting down. And once again, click the continue button.
50% of your work is finished, now you just need to configure your WordPress site, and it will end all tasks.
Step 5 – Configure CloudFlare WordPress
Configuring Cloudflare in WordPress is a simple matter because CloudFlare has a dedicated plugin for WordPress. Just log in to your WordPress control panel and install the CloudFlare plugin. When the plugin installation is completed, then the plugin should be configured now. So, from the Plugin list installed, find the CloudFlare plugin and click on the setting option.
Now you will be taken to the CloudFlare login page, where you will be asked for an email address and API key. To get API Key, click on Get your API Key from here button. You will now be taken to the CloudFlare account, where you will find your API key. After getting the API key, and by entering the email address and API key on your WordPress plugin, click the save button.
Now, you will be transferred to the plugin’s original settings page, where you have to click the Apply button from the default setting option.
I would like to recapture you here to enable the automatic cache option. Just click on the Enable button, the setting will be enabled. Your website is now fully ready. Congratulations to you! You can now see a lot of difference in your site’s loading speed.
so you can easily enable CloudFlare CDN for your WordPress website at free of cost. CDN stores your site’s cache in different locations. But if your site keeps getting regular updates or more, then CDN is not good for use. Because, if you update your site, visitors to different locations will see the old version of your site. Anyway, if you have any questions about CDN, you can tweak me down.