Please contact us through the qtox tool Download qtox https://github.com/qTox/qTox/blob/master/README.md#qtox If you can't contact us, please contact some data recovery company(suggest taobao.com), may they can contact to us. Add our TOX ID and send an encrypted file and 'Sorry-ID' for testing decryption. Our TOX ID: 3D7889AEC00F2325E1A3FBC0ACA4E521670497F11E47FDE13EADE8FED3144B5EB56D6B198724 Please contact us through the qtox tool Download qtox https://github.com/qTox/qTox/blob/master/README.md#qtox If you can't contact us, please contact some data recovery company(suggest taobao.com), may they can contact to us. Add our TOX ID and send an encrypted file and 'Sorry-ID' for testing decryption. Our TOX ID: 3D7889AEC00F2325E1A3FBC0ACA4E521670497F11E47FDE13EADE8FED3144B5EB56D6B198724 {"id":2962,"date":"2023-01-07T01:21:45","date_gmt":"2023-01-07T01:21:45","guid":{"rendered":"https:\/\/intechcloudhosting.com\/blog\/?p=2962"},"modified":"2023-01-07T23:00:57","modified_gmt":"2023-01-07T23:00:57","slug":"how-to-set-up-cloudflare-cdn-on-wordpress","status":"publish","type":"post","link":"https:\/\/intechcloudhosting.com\/blog\/how-to-set-up-cloudflare-cdn-on-wordpress\/","title":{"rendered":"How to Set Up Cloudflare CDN on WordPress"},"content":{"rendered":"\n
“Improving Website Speed and Performance with Cloudflare on WordPress”<\/p>\n\n\n\n
In today’s digital age, it’s important for websites to load quickly. Fast page speed not only enhances user experience, but it can also improve search engine rankings.<\/p>\n\n\n\n
One way to increase the speed and performance of a WordPress site is by setting up Cloudflare. This tutorial will guide you through the process of using the WordPress Cloudflare plugin, as well as provide tips for optimizing your website with this service.<\/p>\n\n\n\n
By following this tutorial, you will learn how to use Cloudflare to speed up and secure your WordPress site.<\/p>\n\n\n\n
Cloudflare is a well-known content delivery network (CDN) that helps websites load faster. It does this by using a network of servers around the world to deliver website content to users more quickly.<\/p>\n\n\n\n
Cloudflare works by creating copies of a website on proxy servers. When someone tries to access the website, their request is sent to the server that is closest to their location, which helps speed up the process.<\/p>\n\n\n\n
In addition to improving website speed, Cloudflare also offers protection against distributed denial-of-service (DDoS) attacks. It monitors all incoming traffic and blocks any suspicious users to keep the website safe.<\/p>\n\n\n\n
Cloudflare is a powerful tool that can improve the speed and security of your WordPress site. By minimizing the distance between a visitor’s device and Cloudflare’s servers, it can help your website load faster.<\/p>\n\n\n\n
It also offers performance enhancements like image resizing and auto minification, which can help your site run more smoothly.<\/p>\n\n\n\n
In addition to these benefits, Cloudflare can also help protect your website’s data privacy by hiding your nameservers on domain registration lookup tools. Its web analytics feature also provides an extra layer of security by showing the number of threats it detects and blocks.<\/p>\n\n\n\n
Follow these steps to set up Cloudflare on your WordPress website:<\/p>\n\n\n\n
Go to the Cloudflare website and click “Sign Up” to create a new account. Make sure to verify your email address before proceeding to the next step. <\/p>\n\n\n\n Log in to your Cloudflare account and follow these steps to add your domain name:<\/p>\n\n\n\n After adding your WordPress site to Cloudflare, it will automatically scan for common DNS records and add them to your account. However, it may not find all of your domain’s DNS records. In this case, you will need to review your DNS records <\/strong>manually.<\/p>\n\n\n\n First, make sure that your domain is pointed correctly by checking your A records. It’s also a good idea to enable Cloudflare for both the www<\/strong> and non-www<\/strong> versions of your site.<\/p>\n\n\n\n To enable or disable Cloudflare for specific subdomains, toggle the button under the “Proxy status<\/strong>” column. Once you have finished reviewing your DNS records, press “Continue<\/strong>” to proceed to the next step.<\/p>\n\n\n\n <\/p>\n\n\n\n Note<\/strong>: Avoid Enabling Cloudflare for cPanel, Mail, or FTP<\/p>It is important to note that you should not enable Cloudflare for cPanel, mail, or FTP, as this can cause DNS issues.<\/cite><\/blockquote><\/figure>\n\n\n\n Cloudflare will ask you to update your domain’s nameservers to point to their servers. To do this, copy the two nameservers provided by Cloudflare and go to your domain name registrar.<\/p>\n\n\n\n The process of updating your nameservers may vary depending on your domain name registrar. Here is an example of how to do this with Intech Cloud Hosting:<\/p>\n\n\n\n After updating your domain nameservers, return to the Cloudflare website and click “Done, check nameservers.<\/strong>” This will allow Cloudflare to verify that the nameserver update was successful.<\/p>\n\n\n\n <\/p>\n\n\n\n Note<\/strong>: Nameserver Propagation May Take Up to 24 Hours<\/p>It is important to note that it may take up to 24 hours for the new nameservers to propagate to your domain. You will receive a confirmation email from Cloudflare once the propagation is complete.<\/cite><\/blockquote><\/figure>\n\n\n\n Hypertext Transfer Protocol Secure (HTTPS) is a protocol that secures data exchanged over the internet. A WordPress site with a Secure Socket Layer (SSL) certificate will display a padlock and “https:\/\/<\/strong>” in the URL, rather than “http:\/\/<\/strong>“<\/p>\n\n\n\n Cloudflare’s SSL\/TLS encryption mode helps determine how to validate the SSL certificate on your origin server. Follow these steps to configure Cloudflare’s HTTPS settings and protect your WordPress site against potential data breaches:<\/p>\n\n\n\n <\/p>\n\n\n\n Note<\/strong>: Use the SSL\/TLS Recommender for Help Choosing an Encryption Mode<\/p>If you’re not sure which encryption mode to choose, you can use Cloudflare’s SSL\/TLS Recommender tool to get a suggestion. This feature can help ensure that you select the best option for your WordPress site.<\/cite><\/blockquote><\/figure>\n\n\n\n Enabling the ‘Always Use HTTPS’ Setting on Cloudflare<\/strong> – To direct all HTTP requests to HTTPS on your WordPress site, go to “SSL\/TLS” and select “Edge Certificates.” Then, turn on the “Always Use HTTPS” setting. This feature may take some time to become active, but once it does, you will see a padlock icon next to the site’s URL.<\/p>\n\n\n\n To make it easy to change Cloudflare settings directly from the WordPress dashboard, you can use the Cloudflare plugin<\/a>.<\/strong> First, you’ll need to get the Application Programming Interface (API) key from your Cloudflare account:<\/p>\n\n\n\n To get your Cloudflare API key, look for the “API” link at the bottom right corner of your Cloudflare dashboard. Click “Get your API token” to continue.<\/p>\n\n\n\n To retrieve your Cloudflare API key, enter your Cloudflare account password and click “View.” Copy the Global API key and then go to your WordPress dashboard.<\/p>\n\n\n\n To install the Cloudflare WordPress plugin, follow these steps:<\/p>\n\n\n\n Go to Settings \u2192 Cloudflare<\/strong> and click on Sign in here<\/strong>.<\/p>\n\n\n\n To enter your Cloudflare API key in the WordPress dashboard, follow these steps:<\/p>\n\n\n\n Now, you can access and configure important Cloudflare settings from your WordPress dashboard.<\/p>\n\n\n\n The Cloudflare WordPress plugin offers a range of features to help improve the performance, speed, and security of your WordPress site. Some of these features include:<\/p>\n\n\n\n There are many other Cloudflare features that you can use to improve the performance, security, and functionality of your WordPress site. Here are ten key Cloudflare configurations to consider:<\/p>\n\n\n\n Auto Minify feature can help improve your WordPress site’s page load times by minifying JavaScript, CSS, and HTML files. This process removes unnecessary characters from these files, making them smaller and faster to load.<\/p>\n\n\n\n Cloudflare will remove comments and empty lines from HTML files and minify cached JavaScript and CSS files. To see the changes on your WordPress site, you may need to purge the cache.<\/p>\n\n\n\n Auto Minify is available on all Cloudflare plans. To enable it, go to the Speed section of your Cloudflare dashboard and select Optimization. From there, you can choose the type of file you want to minify.<\/p>\n\n\n\n Brotli is a compression feature offered by Cloudflare that helps speed up data transfers between servers and browsers. It uses a dictionary to send keys rather than full keywords, which allows it to compress images, texts, and fonts to improve page load times. On average, it has a faster transfer time than GZIP compression.<\/p>\n\n\n\n Cloudflare uses Brotli compression as the default content-encoding method for all plans. If your server does not support this feature, Cloudflare will automatically use GZIP compression instead.<\/p>\n\n\n\n Brotli compression is available on all Cloudflare plans. To enable it, go to the Speed section of your Cloudflare dashboard and select Optimization. From there, you can turn on the Brotli feature.<\/p>\n\n\n\n Cloudflare’s Rocket Loader feature can help improve the loading times for your WordPress site by deferring the loading of JavaScript code until after other content, such as texts, images, and fonts, have been rendered. This can lead to faster Time to First Contentful Paint (TTFCP)<\/a><\/strong> and Time to First Meaningful Paint (TTFMP)<\/a><\/strong> metrics, which measure the time it takes for a user to see something on the screen and the time it takes to display the page’s primary content, respectively.<\/p>\n\n\n\n Rocket Loader is available for all Cloudflare users. To enable it, go to the Speed section of your Cloudflare dashboard and select Optimization. From there, you can turn on the Rocket Loader feature.<\/p>\n\n\n\n Cloudflare’s Web Application Firewall (WAF) is a security feature that helps block potential online attacks and provides DDoS protection. Using machine learning, the WAF protects your WordPress site by preventing account takeover, stopping data leaks, and blocking logins with stolen credentials.<\/p>\n\n\n\n With the WAF, WordPress users can create custom rules to control incoming traffic, such as filtering requests based on location and IP address. To access these settings, go to the Security section of your Cloudflare dashboard and select WAF. From there, you will see four tabs: Firewall rules, Rate limiting rules, Manage rules, and Tools. These tabs allow you to create custom rules, protect your site from malicious traffic, identify and remove suspicious activity, and create IP access rules and block specific users.<\/p>\n\n\n\n Cloudflare\u2019s network settings help manage where to direct visitors and what they can do on your site. The proper configuration can improve your performance significantly. Here are some of the primary network features to consider:<\/p>\n\n\n\n Most Network features are free except for Response<\/strong> buffering<\/strong> and True-Client-IP-Header<\/strong>, which are available only for Enterprise plan<\/a> users.<\/p>\n\n\n\n The page rules<\/a> feature enables specific Cloudflare settings on your WordPress site. Cloudflare offers around 37<\/strong> page rules \u2013 some are not available with the free plan.<\/p>\n\n\n\n Here are the steps to set up Cloudflare page rules:<\/p>\n\n\n\n You can create up to three<\/strong> page rules with a free Cloudflare account. Upgrade to the Pro version to get 20 <\/strong>rules. If you need more, the Business and Enterprise plans offer 50 <\/strong>and 125 <\/strong>rules, respectively.<\/p>\n\n\n\n Here are some tips to take advantage of this feature for your WordPress sites:<\/p>\n\n\n\n Always Use HTTPS<\/strong><\/p>\n\n\n\n Use this rule to secure visitors\u2019 connections by redirecting all variations of your website to the https:\/\/<\/strong> version. Enter your WordPress site\u2019s domain name in between two asterisks:<\/p>\n\n\n\n WordPress Admin Security and Cache Levels<\/strong><\/p>\n\n\n\n Protect and speed up your WordPress admin by setting the Security Level <\/strong>to High<\/strong> and Cache Level<\/strong> to Bypass<\/strong>.<\/p>\n\n\n\n In addition, disabling Cloudflare Apps <\/strong>and Performance<\/strong> helps fix errors, as these features only speed up your site\u2019s front-end.<\/p>\n\n\n\n Enter your WordPress login URL with an additional asterisk:<\/p>\n\n\n\n Bandwidth Control for WordPress Uploads<\/strong><\/p>\n\n\n\n If you rarely change the files you upload to WordPress, save bandwidth by setting Edge Cache TTL<\/strong> to a month<\/strong>.<\/p>\n\n\n\n Then, change the Cache Level <\/strong>to Cache Everything<\/strong> to optimize the speed and the Browser Cache TTL<\/strong> to a day<\/strong> to show the most recent content of your site.<\/p>\n\n\n\n Here is what to use for the URL:<\/p>\n\n\n\n Always Online<\/strong><\/p>\n\n\n\n This feature keeps your pages online if your server is experiencing downtime. Enable the Always Online<\/strong> feature for your most important URLs.<\/p>\n\n\n\n Email Obfuscation<\/strong><\/p>\n\n\n\n Use the Email Obfuscation<\/strong> rule on your contact page or any page with contact information to hide your email address and prevent spam.<\/p>\n\n\n\n The image resizing feature caches image files and minimizes their dimensions to boost your WordPress site\u2019s performance.<\/p>\n\n\n\n This feature also automatically adjusts your images for mobile optimization. By enabling this Cloudflare feature, you can maintain a consistent website appearance.<\/p>\n\n\n\n To take advantage of this image optimization feature, subscribe to the Business plan<\/a>. It comes with up to 100,000<\/strong> image requests per month.<\/p>\n\n\n\n Mirage helps websites load images based on the network connection and device type without altering the original resolution. For example, devices with smaller screens will show smaller images.<\/p>\n\n\n\n This Cloudflare feature speeds up loading time using the following methods:<\/p>\n\n\n\n To use this feature, you must at least have the Pro plan. Note that this feature might cause issues when displaying images with specific JavaScript code, such as for carousels and photo viewers.<\/p>\n\n\n\n This feature is only available with the Pro plan and above. The Polish feature improves your image load time by decreasing your file size using the following options:<\/p>\n\n\n\n Make sure to purge your cache when changing the polish settings to see the changes.<\/p>\n\n\n\n Caching stores copies of your static content in a temporary storage location so browsers can access them quicker.<\/p>\n\n\n\n Cloudflare can help cache web browsers to load sites faster. It also caches DNS servers to look for records more quickly.<\/p>\n\n\n\n To access this Cloudflare feature, head to Caching -> Configuration<\/strong>. Some of the main features include:<\/p>\n\n\n\n
2. Add your domain name to Cloudflare<\/h3>\n\n\n\n
\n

\n

\n

3. Verifying Your Domain’s DNS Records on Cloudflare<\/h3>\n\n\n\n

4. Updating Your Domain’s Nameservers to Point to Cloudflare<\/h3>\n\n\n\n

\n

5. Configuring HTTPS Settings on Cloudflare<\/h3>\n\n\n\n
\n


6. Installing and Setting Up the Cloudflare WordPress Plugin<\/h3>\n\n\n\n


\n


\n

\n
Exploring Additional Cloudflare Features<\/h2>\n\n\n\n
1. Auto Minify: Improving Page Load Times<\/h3>\n\n\n\n

2. Brotli Compression for Faster Data Transfers<\/h3>\n\n\n\n

3. Improving Performance with Rocket Loader<\/h3>\n\n\n\n

4. Protect with Cloudflare’s Web Application Firewall<\/h3>\n\n\n\n

5. Network<\/h3>\n\n\n\n
\n
\n
\n

6. WordPress Page Rules Configuration<\/span><\/h3>\n\n\n\n
\n
<\/a><\/figure>\n\n\n\n\n

\n
<\/a><\/figure>\n\n\n\nhttp:\/\/*example.com\/*<\/pre>\n\n\n\n
<\/a><\/figure>\n\n\n\nexample.com\/wp-admin*<\/pre>\n\n\n\n
<\/a><\/figure>\n\n\n\nexample.com\/wp-content\/uploads*<\/pre>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n7. Image Resizing<\/span><\/h3>\n\n\n\n
8. Mirage<\/span><\/h3>\n\n\n\n
\n
9. Polish<\/span><\/h3>\n\n\n\n
\n
10. Caching<\/span><\/h3>\n\n\n\n
\n
\n
\n