Title: Exclude a page
Last modified: August 30, 2016

---

# Exclude a page

 *  Resolved [Robert Massart](https://wordpress.org/support/users/robert-massart/)
 * (@robert-massart)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/exclude-a-page-2/)
 * I have a problem with my shopping cart pages when I enable this plugin.
 * If I could just exclude this page from the Autoptimize by adding a tag to the
   page or having an exclude pages similar to the exclude js or css files that would
   be great.
 * Any way to accomplish this?
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/exclude-a-page-2/#post-6316071)
 * Hi Robert;
    You can accomplish that using the API, there’s example code in autoptimize_helper.
   php_example.
 * Hope this helps,
    Frank

Viewing 1 replies (of 1 total)

The topic ‘Exclude a page’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/exclude-a-page-2/#post-6316071)
 * Status: resolved