Remove custom post URLs from purge

This helper plugin will remove a custom set of URLs from WP Rocket’s automatic cache purging when a post is created / updated / deleted.

It can help in cases where you are seeing these URLs show up as 404 errors in your logs. 

  • example.org/page/index-httpspage
  • example.org/page/index-https.html_gzip
  • example.org/page/index-https.html

📝 Manual code edit required before use!

📥   Download (.zip):  WP Rocket | Remove Custom Post URLs from purge
Developers: You can find the code for this plugin on GitHub.

To install and use the plugin please follow these steps:

  1. Download the helper plugin zip file, then un-zip it.
  2. Open the PHP file in a text editor.
  3. Edit lines 29-31: replace the URLs to reflect the paths you want to exclude.
  4. Re-zip the folder.
  5. Install the helper plugin on your site - go to Plugins → Add New → Upload plugin and select the zip file.
  6. Activate the plugin.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.