How to install Cloudflare illustrations on your WordPress website

Cloudflare is a company providing content delivery Network (CDN), DNS, DDoS protection and security services. They are known for their fast DNS lookup time in the network performance industry and have a powerful network of more than 100 different data centers around the world. They are supported by industry celebrities such as Google, Microsoft and Qualcomm. Some of their customers include NASDAQ, Digital Ocean, Zendesk and Cisco.

if you are looking for an easy way to speed up and enhance the security of WordPress sites, Cloudflare is a good solution. Most customers can even use their free plan, which provides unlimited CDN bandwidth. Follow these steps to install Cloudflare on your WordPress website.

Note: if you use Cloudflare, you cannot use the advanced DNS from Amazon Route 53. Cloudflare runs as a full proxy service, which means that you must select one of them. If you want to use our advanced DNS, you can use an alternative CDN to speed up your website, such as KeyCDN, which is not a complete agent.

  1. installation Cloudflare
  2. Common Cloudflare problems
  3. how to clear Cloudflare Cache

logs in to the Cloudflare dashboard, and then click + add site. Enter the domain name of your WordPress site, and then click Begin Scan. (the root domain is fine without adding www or HTTP/HTTPS.) it may take a minute or two for

to add a WordPress site to Cloudflare

, and then click “Continue Setup”. Step 2 of

How to install Cloudflare illustrations on your WordPress website1

Cloudflare gives you two options. You can use their CDN and protection (to accelerate and protect your site), or you can simply use their DNS. Most customers will want the former because this is where you will benefit from everything Cloudflare has to offer. To make sure your domain is enabled, make sure the cloud is lit in orange. If you have other records, such as email (MX records), these records should be turned off Cloudflare (grayed out). Click continue when you are finished verifying everything. You can modify these records at any time in the future.

verify DNS record

step 3

on the next page, you need to select a Cloudflare plan. We recommend starting with a free plan that applies to most users. Then click “continue”. You can read more about Cloudflare program differences.

How to install Cloudflare illustrations on your WordPress website2

Free Cloudflare Plan

step 4

then, you need to change the name servers on the domain to point to Cloudflare (using the names they provide). Because Cloudflare is a complete proxy service, basically it works by pointing your domain to Cloudflare, and then Cloudflare pointing your domain to the server address. There is no downtime when switching name servers. Here are several documentation links to different domain name registrars on how to change them. How

How to install Cloudflare illustrations on your WordPress website3

uses Namecheap to change the name server

uses GoDaddy to change the domain name server

uses Google Domains to change the domain name server

  • uses Bluehost to change the name server
  • and then click “Continue”. It should not take long for
  • to change to Cloudflare’s name server
  • , but it will take up to 24 hours to process the change.

step 5

How to install Cloudflare illustrations on your WordPress website4

if your site does not already point to the server, you need to update the A record to point to the server IP in the Cloudflare dashboard. Click “DNS” and next to the A name record, change it to the IPv4 address of your server.

Update Cloudflare A name record

that’s it! Your WordPress website now has Cloudflare installed.

step 6 (optional)

How to install Cloudflare illustrations on your WordPress website5
We do recommend an additional step for WordPress users. This is not required, but if you do not install the official Cloudflare plug-in, some features of Cloudflare may not work properly.

‘s free Cloudflare WordPress plug-in

you can download it from the WordPress plug-in library, or you can search for it under “plug-ins-install plug-ins” in the WordPress dashboard. It has the following features:

fixes WordPress comments from the same IP address

How to install Cloudflare illustrations on your WordPress website6

automatic cache clears

rewrites headers when Cloudflare’s Universal SSL is enabled to prevent redirect circular

  • can change Cloudflare account settings (cache clearance, security level, image optimization, etc.) from the plug-in itself
  • view analysis, such as total visitors, saved bandwidth and blocked threats
  • supports HTTP2/ server push
    After
  • installs the plug-in, you need to enter your Cloudflare email address and API key in the settings. You can get your API key here. Copy the one that says “Global API Key”. Then click Save API Credentials. The
  • Cloudflare WordPress plug-in API credential
  • is under the “Home” tab, and you can apply default settings or update settings as needed. The

Cloudflare plug-in defaults to

How to install Cloudflare illustrations on your WordPress website7

under the “Setting” tab, and if you use a professional plan, you can enable image optimization, turn on development mode, change the security level, and enable automatic HTTPS rewriting.

Cloudflare plug-in speed and security settings

How to install Cloudflare illustrations on your WordPress website8

Under the Analytics tab, you can view the number of requests, bandwidth, visitors, and threats on the WordPress site. The

Cloudflare plug-in analyzes

How to install Cloudflare illustrations on your WordPress website9

Common Cloudflare problems A very common error that

users encounter when trying to install Cloudflare on their WordPress site is “ERR_TOO_MANY_REDIRECTS” or “page incorrectly redirected” (Firefox) in Chrome. Common flexible SSL error

How to install Cloudflare illustrations on your WordPress website10

for

Cloudflare this is because you have set up SSL on your Web server and then enabled flexible SSL using Cloudflare.

sets the Cloudflare encryption level to Full

How to install Cloudflare illustrations on your WordPress website11

. Otherwise, you can create page rules to resolve this issue. How does

have a problem clearing the Cloudflare cache

How to install Cloudflare illustrations on your WordPress website12

? Sometimes you need to clear (clear) the Cloudflare cache. There are two simple ways to do this.

option 1-clear the Cloudflare cache

in the WordPress plug-in if you have installed the Cloudflare WordPress plug-in, you can clear the cache from the “set → Cloudflare”.

clear Cloudflare cache

option 2 in the WordPress plug-in-clear the Cloudflare cache

from the control panel your other option is to clear the Cloudflare cache from their control panel. To do this, click the Caching tab, and then click Purge Everything.

How to install Cloudflare illustrations on your WordPress website13

clears the Cloudflare cache

once everything is in place and running smoothly, it is best to clear the cache for only individual files. Cloudflare provides an easy way to do this.

Custom clear File Cache

How to install Cloudflare illustrations on your WordPress website14

Note: if you clear all content, you may temporarily slow down the performance of the site because assets must be re-cached. However, sometimes this is inevitable, especially if you are not sure which scripts or assets on the site need to be refreshed.

other Cloudflare Settings

How to install Cloudflare illustrations on your WordPress website15

now that you know how to install Cloudflare, we recommend that you check out our detailed posts about the best Cloudflare settings for WordPress users. You can also learn about Cloudflare’s automatic platform Optimization (APO) tool.

注意:如果您清除所有内容,您可能会暂时降低网站的性能,因为资产必须重新缓存。但是,有时这是不可避免的,尤其是当您不确定站点上的哪些脚本或资产需要刷新时。

其他Cloudflare设置

既然您知道如何安装Cloudflare,我们建议您查看我们关于WordPress用户最佳Cloudflare设置的详细帖子。您还可以了解Cloudflare 的自动平台优化 (APO)工具。

Disclaimer: All articles on this website, unless otherwise specified or marked, are original and published on this website. Any individual or organization is prohibited from copying, stealing, collecting, or publishing the content of this site to any website, book, or other media platform without the consent of this site. If the content on this website infringes on the legitimate rights and interests of the original author, you can contact us for assistance.