• Resolved imsuyash

    (@imsuyash)


    I was using Cache Enabler 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. example.com/krishna/ [This is also loading.]
    2. example.com/krishna [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.

    Here is my htaccess if you need it: https://pastebin.com/p24BAgU5

    I have tried WP Rocket same issue persists. No issue using LiteSpeed Cache.

    Please, developers, explain me in simple language. You are my last hope ??

Viewing 1 replies (of 1 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    Cache Enabler respects the trailing slash configuration, whether a site has a trailing slash or does not. This behavior is based on the site’s permalink structure.

    To see if this is related to Cache Enabler, can you please provide a screenshot of your Permalink Settings? This can be obtained by going to the WordPress admin dashboard > Settings > Permalinks.

Viewing 1 replies (of 1 total)
  • The topic ‘Trailing Slash Disappears after cache primed.’ is closed to new replies.