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:
- Download the helper plugin zip file, then un-zip it.
- Open the PHP file in a text editor.
- Edit lines 29-31: replace the URLs to reflect the paths you want to exclude.
- Re-zip the folder.
- Install the helper plugin on your site - go to Plugins → Add New → Upload plugin and select the zip file.
- Activate the plugin.