Title: Exclude, or Include?
Last modified: September 27, 2016

---

# Exclude, or Include?

 *  [outdoorphoto](https://wordpress.org/support/users/outdoorphoto/)
 * (@outdoorphoto)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/)
 * 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/](https://www.outdoorphoto.co.za/),
   and our blog at [https://www.outdoorphoto.co.za/blog/](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](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/#post-8226609)
 * 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](https://wordpress.org/support/users/outdoorphoto/)
 * (@outdoorphoto)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/#post-8229074)
 * Hi Emre,
 * Thank you for the advice! I’ll give it a go to see if it works with our integration:).
 *  Thread Starter [outdoorphoto](https://wordpress.org/support/users/outdoorphoto/)
 * (@outdoorphoto)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/#post-8229095)
 * It looks like it’s working!
    Thank you for the support jedi master Emre!
 *  Thread Starter [outdoorphoto](https://wordpress.org/support/users/outdoorphoto/)
 * (@outdoorphoto)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/#post-8229123)
 * 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.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

## Tags

 * [condition](https://wordpress.org/support/topic-tag/condition/)
 * [exclude](https://wordpress.org/support/topic-tag/exclude/)

 * 4 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/exclude-or-include/#post-8226609)
 * Status: not resolved