Support » Plugin: Permalink Manager Lite » Forced Trailing Slash Removes After Cache Primed by WP Rocket

  • Resolved imsuyash


    I was using WP Rocket as it was giving me very good results in speed.

    All URLs of my website need to have a forced trailing slash [/].

    I have fixed the problem in my .htaccess file too.

    Trailing Slash comes when I delete my cache. But when the cache is primed. Again the pages are loading without trailing slashes too.

    Example, 1. [This is also loading.]
    2. [This is also loading.]

    I want the 2nd one to be redirected to the first one. Everything seems okay in .htaccess, I’ve tried a lot of plugins to do this still failed.

    I am using Google Cloud Bitnami WordPress.

    I even tried using your plugin but issue still persists.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maciej Bis


    Hi @imsuyash,

    The problem is in the way WP Rocket caches the URLs. Generally speaking, both URLs (with and without trailing slash) share the same cache. In other words, WP Rocket does not distinguish the URLs with and without the trailing slash.

    Unfortunately, I am not technically able to fix the problem. My plugin uses PHP to trigger the trailing slash redirect and as long as script caching is enabled, there is no possibility to check what version of URL was cached. The PHP function that does the redirect (included my plugin) is cached with WP Rocket.

    The problem that you have reported is still not addressed although it was reported months ago:

    Did you try to use the solution posted on their website?

    Best regards,

    Thread Starter imsuyash


    Yes, I have used the plugin provided by them. Still the same problem.

    I have tried everything. Please tell the solution brother you are my last hope 🙁

    Moderator Yui



    Since Wp-Rocket is a paid plugin, which does not have a support forum section on, why dont you contact Wp-Rocket support ?

    Since that is a commercial theme or plugin, we ask that you please go to their official support channel, so you can get support from the people who know it best.

    Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.