• We’re using WPFastestCache on our WP blog. On it we have added custom integration with an external CMS system that runs our online shop. We’ve tried adding further integration but the WPFC plugin’s cache system is unfortunately making that very difficult. The plugin does what it’s meant to do, but this creates a problem for our integration.

    Is there a rewritecond that can be added to the .htaccess file to allow for only URL’s that include “/blog/”? Our shop is running at https://www.outdoorphoto.co.za/, and our blog at https://www.outdoorphoto.co.za/blog/. Could I add a condition that excludes any URL that does NOT contain “/blog/”?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Emre Vona

    (@emrevona)

    You can do it with using <!–[wpfcNOT]–>. You can write “IF condition” with php and if you print “<!–[wpfcNOT]–>”, the page is not cached.

    Thread Starter outdoorphoto

    (@outdoorphoto)

    Hi Emre,

    Thank you for the advice! I’ll give it a go to see if it works with our integration :).

    Thread Starter outdoorphoto

    (@outdoorphoto)

    It looks like it’s working!
    Thank you for the support jedi master Emre!

    Thread Starter outdoorphoto

    (@outdoorphoto)

    To anyone reading this looking for the same sort of answer, simply including the following in my external .php file did the trick:

    echo “<!–[wpfcNOT]–>”;

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude, or Include?’ is closed to new replies.