Use cloudflare page rules to set cache cache wordpress to speed up website access
Rule 1: Do not cache wp-admin directories
localhost.com/wp-admin*
Cache Level = Bypass
Security Level = High
Rule two: Article previews are not cached
localhost.com/*preview=true*
Cache Level = Bypass
Rule Three: Cache all files
localhost.com/*
Browser Cache TTL = 30 minutes
Cache Level = Cache Everything
Edge Cache TTL = 2 hours
Optional rule: CDN cache 301 jump
localhost.com
Forwarding URL = 301 - Permanent Redirect
https://www.localhost.com
Other rules: Only the home page is cached
https://www.localhost.com
Browser Cache TTL = 30 minutes
Cache Level = Cache Everything
Edge Cache TTL = 2 hours
Install the Change wp-admin login plugin
Using this plugin you can redirect to custom URLs to bypass caching, such as
https://wordpress.org/plugins/change-wp-admin-login/
https://downloads.wordpress.org/plugin/change-wp-admin-login.zip/wp-login.php
/wp-adminadmin
WordPress spider access robots .txt rules are included
User-agent: * Disallow: /wp-admin/ Disallow: /*/comment-page-* Disallow: /*?replytocom=* Disallow: /*/trackback Disallow: /feed Disallow: /*/feed Disallow: /comments/feed Disallow: /?s=* Disallow: /*/?s=*\ Disallow: /attachment/ Disallow: /author/ Disallow: /user/
0 Comments