@admin8411 I checked your website and I understand you do not want Asset CleanUp to be triggered if the visitor accessed a blog post. Based on the blog post format that you currently have, the RegEx you could use there is: /([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*?)/ – it first matches the date (year, month, day), and then any string between the forward slashes. So, anything like the example you provided /2020/12/18/design-of-an-inviting-lanai/ will be matched the plugin will not trigger.
Can you try it out and let me know how it goes?
Hi there,
Thank you for the reply. I have tried it, however, it did not work.
@admin8411 I just made a test on a dev site and it worked fine. Now, are you sure you added this rule to “Settings” -> “Plugin Usage Preferences” -> “Do not load the plugin on certain pages”? See the following print screen I made: https://i.ibb.co/9YJYCmF/Screenshot-2021-02-05-at-16-41-39.jpg
If you did that and still doesn’t work (Asset CleanUp not loading at all on the post pages), then it’s likely an isolated case and it needs further debugging. Now, it’s easy to know if the plugin didn’t trigger on a post page. The top admin bar menu will not show up at all. It would show up on other pages (that are not posts), where the RegEx rule doesn’t match the URI.
@admin8411 hello! This is just a reminder of checking out what I told you about. I’m keen to have it solved. Perhaps it’s an isolated issue or indeed a bug (which is not likely as it’s been tested extensively and so far there weren’t issues like this one).