• Is it possibe to only exclude the parent page but not the subpages?

    example.com/parentpage (No cache)
    example.com/parentpage/subpage (Cached)

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could write an mu-plugin or add code to your theme that sets the constant DONOTCACHEPAGE so the page isn’t cached when the URL matches the parent.

    Thread Starter justiin

    (@justiin)

    That would be great! Is here a documentation from? I would like to add it to my theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude only parent page’ is closed to new replies.