How to Use CloudFlare with WordPress

CloudFlare can do everything from offer CDN abilities to speed up your WordPress website, add additional “pre-screening” security through a firewall system, protect your site against DDoS to ensure that something will be visible to real visitors and, probably most importantly, offer a high-quality DNS service.

Avatar photo
SolidWP Editorial Team
CloudFlare can do everything from offer CDN abilities to speed up your WordPress website, add additional “pre-screening” security through a firewall system, protect your site against DDoS to ensure that something will be visible to real visitors and, probably most importantly, offer a high-quality DNS service. cloudflare with wordpress CloudFlare actually got its start by providing services to other companies that worked to alleviate denial of service attacks (DoS) and has since grown into a multi-pronged service with plenty of option for WordPress site owners. The free level of CloudFlare includes features like:
    • A Basic CDN service so that the site can be displayed through CloudFlare’s servers that are networked around the globe.
    • SSL Flexible Certificates that help protect your visitor’s personal information.
    • Analytics – Lots of good metrics to see how your side is doing.
    • Firewall – A web application firewall that can block online threats before they ever reach your server.
    • Fast DNS solution so that you can quickly change DNS records and not have to wait for hours for things to propagate.
    • Minifying the Javascript, CSS, and HTML that appears on your site.
    • Caching on CloudFlare can cache a copy of the site to serve it super fast even if your site is having trouble being reached. This includes services like CloudFlare’s “Always On” system that includes the homepage and many popular posts and pages.
    • Email address encryption to keep all emails on the site away from scrapers.
    • Hotlink protection to keep your sites ON your sites.
    • Access rules to customize what visitors get viewed as a threat and blocked.
… plus there are many 3rd party add-ons that integrate with leading services to further enhance your management of the sites on CloudFlare.

Using CloudFlare with WordPress

To get started with CloudFlare, it is as simple as putting in the domain name of the WordPress site that you want to use. Once you create an account and login, visit https://www.cloudflare.com/a/setup. WordPress Cloudflare CloudFlare will then go through the process of copying everything you currently have with your DNS records for the domain. It will give you a chance to verify that it is all correct. Then you will be given two nameservers to use when switching your domain records at the registrar of the domain. Once that is done you can begin setting up your services that you will use with CloudFlare. WordPress Cloudflare To help you get started using CloudFlare with WordPress, below is a quick summary of some of the features found in each on of the settings of CloudFlare.  While there are many more features that can be used and set to enhance your WordPress site, this post is focused on what you can do with CloudFlare under the free account level. Analytics
  • What is it actually tracking?
  • Threats that have happened during the time period.
  • Analysis of what CloudFlare “saved” you.
DNS
  • Access to all A, AAAA, CNAME, MX, TXT, NS, SPF, SRV, LOC domain records.
  • Each record can choose to pass bypass CloudFlare or not.
Crypto
  • This means SSL certs and other cryptographic methods of securing your website
Firewall
  • The areas that are good to know for the free level are “security level” and the IP Firewall.
  • The FULL Web Application Firewall is only under that paid version.
Speed
  • Choose to minify your Javascript, CSS, and/or HTML.
  • Mobile Redirect is a really cool feature for the free level.
Caching
  • The ability to purge the cache or release individual pages from the cache.
  • The “Always Online” and the Development Mode are key settings to understand.
Page Rules
  • These are specific instructions for CloudFlare to know how to handle visitors that arrive under specific URL settings.
Network
  • There are two settings to be aware of in this section.  The “IP Geolocation” option and the “Maximum Upload Size” drop-down field.
Scrape Shield
  • Email obfuscation, hotlink protection, and the ability to hide content from suspicious visitors.
Apps
  • A Better Browser
  • Google Analytics
  • Google Webmaster Tools
  • Pingdom
  • ScrapeShield
Hopefully, this overview of several important areas of the CloudFlare control panel will help you get started working with CloudFlare. One of the great benefits of using CloudFlare is that you can use as little or as much of the different options as you want. If you only want to use CloudFlare as a powerful DNS tool, you can do that. If you want CloudFlare to help protect your site against hotlink abuse, you can do that. The choice is yours.

How do you use CloudFlare with WordPress?

Did you like this article? Spread the word: