1. Home
  2. How To
  3. How to Implement AMP with CloudFlare

How to Implement AMP with CloudFlare

Visitors can browse a site at top speeds by integrating CloudFlare on your website. CloudFlare is a Content Delivery Network (CDN) that sends traffic via its global network which will automatically optimize the delivery of your site content. Today we would like to guide you on How to Implement AMP with CloudFlare in this guide.

Creating a Page Rule in Cloudflare:
Page rules will help you harden security, enhance performance, Improve User Experience and minimize bandwidth usage on your domain. Page Rules makes your site safer and faster, and you can use them to redirect all of your traffic to HTTPS, or to another domain. For using AMP with Cloudflare you have add Page Rule in Cloudflare, Just follow the below easy instructions for successful implementation

  • Login to Your CloudFlare Account
  • Navigate to Page Rules tab
    Page Rule
  • Click on Page Rule
  • Add URL pattern: **/amp/
  • Add A below Setting
    • Disable Apps
    • Disable Performance
    • Keep SSL Full set as ON (If your site is not fully using SSL, then leave it at default)

Page Rule Have you implemented AMP with Cloudflare? Let us know in the comment section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on April 3, 2018

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support


  1. Pingback: Case Study #1 – The Cloudflare & HTTPS problem – AMP Tutorials

  2. Pingback: Start AMP - Wersja mobilna strony - FotoBlog Notatnik Łódź Polska

  3. ok disable, but how it work with “Enable Accelerated Mobile Links”/ Cloudflare ? what it do exactly ? What is license for ” google cache data?” Royalty Free for the End of the World ?

  4. i thought that you create “misconfigurations” to make us pay for your service support.

  5. Using WPBakery Page Builder and cant generate AMP for Pages while for pages its having success. DO you have any working solution for that as i am not having any knowledge of word press so create manual amp by page builder is not a good idea for me.

  6. Yes Implemented and it worked all well. Although my URL pattern includes ?amp instead of /amp

Leave a Comment