• Resolved imsuyash

    (@imsuyash)


    I am using W3 Cache Plugin.

    example.com/krishna
    example.com/krishna/

    Both the URLs are loading.

    I have no issues with htaccess.

    When I switch on Page Cache Method to enhanced. The issue comes. When I switch to disk it is normal.

    When I delete the cache problem gone. Cache primed problem begins.

    Please help me with this. I am a noob. Thus, please tell in simple language step by step.
    Thank U

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @imsuyash

    The reason this happens is that the page enhanced rules work with and without trailing slash. We don’t know if the user wants the trailing slash or not. Also adding a rewrite rule in the Nginx or Apache config is tricky because we don’t know which URLs should be the opposite. Some plugins don’t work with a trailing slash, but we don’t know if the user installed that plugin. Also, we don’t know what plugins work with what rules and we don’t want to have to add a million possibilities for each plugin there is.
    It’s tricky to make it work always.
    There are wp-json requests, feeds, and similar that stops working with a slash.
    However, we will consider adding the option for this as we already have an opened Github issue so please make sure to track the progress of the issue and add any comment that would help moving forward with this.

    Thanks!`

    Thread Starter imsuyash

    (@imsuyash)

    What can I do to fix this sir?

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