Title: &#8220;Force path-based rules&#8221; problem
Last modified: February 11, 2019

---

# “Force path-based rules” problem

 *  Resolved [veganmango](https://wordpress.org/support/users/veganmango/)
 * (@veganmango)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/)
 * Hi Frank,
 * I have the following structure on my site:
 * /parent/
    /parent/child-1 /parent/child-2 .. .. /parent/child-199 /parent/child-
   200
 * When using the advanced “Force path-based”, I would like that all the children
   that are waiting in queue to be processed, will use the is_page rule, while the
   parent will use a manual rule.
 * Is there any way to achieve this at this time?
    Currently, the unprocessed children
   are using the parent’s CCSS (as they should, according to the documentation).
 * When trying to enter a manual rule for “/parent/index.php” it didn’t work.
 * Thank you so much for this great plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/#post-11194525)
 * using the “force path-based rules” option would be your best optoin I guess, 
   you’ll simply have a rule for each page.
 * combining is_page() with manual path-based rules will indeed not work. or if 
   you use a specific template on the parent pages you could use that to target 
   those?
 * hope this helps,
    frank
 *  Thread Starter [veganmango](https://wordpress.org/support/users/veganmango/)
 * (@veganmango)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/#post-11194719)
 * Thank you Frank.
 * I went through the conditional tag options and didn’t see a suitable option.
 * In my case at least, it takes time until all the pages are processed so I wanted
   to implement a temporary solution.
 * Regards.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/#post-11195461)
 * In that case I’m afraid the only option would be to try to alter the is_page()
   CCSS (manually) to have it applicable for both the parent and the childern-pages?
 *  Thread Starter [veganmango](https://wordpress.org/support/users/veganmango/)
 * (@veganmango)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/#post-11196103)
 * I will try to see if I can do that.
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘“Force path-based rules” problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/autoptimize-criticalcss.svg)
 * [Autoptimize criticalcss.com power-up](https://wordpress.org/plugins/autoptimize-criticalcss/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize-criticalcss/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize-criticalcss/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize-criticalcss/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [veganmango](https://wordpress.org/support/users/veganmango/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/force-path-based-rules-problem/#post-11196103)
 * Status: resolved