Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] How to stop caching of one single page?

  • There’s one page that’s being prevented from working right with super cache, and that’s a merchandise page. The links the page generates when forwarding on to Paypal aren’t working right.

    I looked through the config, and found the area on how to stop things from being cached, but I’m obviously not doing it right, because it’s still being cached (checked the source code at the bottom of the page).

    How can I stop this one page from being cached? Tkx.

    http://www.billward.com/merchandise

    Joe

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    You could also define the constant “DONOTCACHEPAGE” in that page’s source code somewhere. That will stop the plugin caching the page.

    Joe Siegler

    (@joe-siegler)

    Forgot about this. Is there anything somewhere that would tell me how to define that constant for a single page?

    I googled around, and what I found was inconclusive. Tkx.

    Add the URL that you don’t want cached to the list of URLs that shouldn’t be cached in WP Supercache’s advanced settings tab. By default it’s got

    wp-.*\.php
    index\.php

    I think you can just add /merchandise to the list.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] How to stop caching of one single page?’ is closed to new replies.