Once you download and install Purge AMP CDN Cache extension it will create this file in the main directory like below the screenshot.
If it is not available on your main domain directory then you can download and place it in your main domain directory you can download this zip file Click Here.
# BEGIN PurgeCDN AddType text/plain .pub Header add Cache-Control "max-age=300, public" SetEnvIfNoCase User-Agent .*google.* search_robot SetEnvIfNoCase User-Agent .*yahoo.* search_robot SetEnvIfNoCase User-Agent .*bot.* search_robot SetEnvIfNoCase User-Agent .*ask.* search_robot Allow from env=search_robot # END PurgeCDN
If not present then place the above code at the end of the .htaccess file.
In .well-known folder there will be public key named “apikey.pub” followed by amphtml folder.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.
If you want to add an AWeber form in AMP then first you need to…
Webpushr is the fastest growing web push notifications platform that marketers love & developers rely…
Follow these steps to add Adobe Analytics in AMP Step 1: Go to WordPress Admin Area -> AMP…
Core Web Vitals are the subset of Web Vitals that apply to all web pages,…
The following reasons can be shown for non-indexing. Server error (5xx) Your server returned a 500-level…
We have added the Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80.…