Disable Publishing and Indexing
By default, all items you create in the CMS will automatically be included in publishing jobs and site indexing (i.e., added to the navigation). However, there are circumstances in which you may need to disable publishing and indexing for certain items.
When To Disable Publishing
There are a couple of major reasons why you would want to disable publishing for certain items in the CMS.
- If you are keeping an item in the CMS for backup purposes and do not wish to delete it, but do not wish to make it public either, disabling publishing for that item will keep it in the CMS only and it will never be published out to the staging or live servers.
- Disabling publishing for certain items can significantly reduce your site-wide publishing jobs and help prevent the publishing queue from backing up. If you add a new item to your website and need to do a site-wide publish to update the navigation, there are probably items in your website that do not need to be republished, such as the image and document files. Site-wide publishes are usually necessary to update pages not files, so by disabling the files from being published you are minimizing your publishing job to include only what's necessary. Note: Using designated folders to contain specific files (e.g., a folder for images, a folder for pdfs, etc.) is highly recommended for both organizational purposes and so that you may batch administer the files by modifying their parent folder's settings (i.e., disable publishing for all files within a folder).
To disable publishing of an item, select the item (e.g., an images folder) in the folder structure on the left. Click on the Edit tab and below the System sub-tab you'll find the setting for Publish. Uncheck the box for Include when publishing and click on the Submit button. The item will no longer be included in any publishes performed in the CMS including site-wide publishes.
If at a future time you try to publish something that has had publishing disabled, you will receive an error message as shown in the example below. Be sure to enable publishing again as necessary.
When To Disable Indexing
Your website's navigation is automatically generated based on the folders and pages you create in the CMS (referred to as "indexing" in the CMS). However, this may not be ideal if you do not want an item to appear in the navigation. A folder whose sole purpose is to contain specific files (e.g., a designated images folder) will never need to be included in the website's navigation, so indexing should be disabled for that item. A page that you are keeping in the CMS for backup purposes should also be disabled from indexing.
To disable indexing for an item, select the item (e.g., an images folder) in the folder structure on the left. Click on the Edit tab and below the System sub-tab you'll find the setting for Index. Uncheck the box for Include when indexing and click on the Submit button. The item will no longer be included in the site navigation.