Handling Restriction Matches in Archives and Outside Main Content

Updated on February 4, 2024

What’s in This Guide

This guide covers handling your content restriction matches in archive pages and everywhere else.

First, here’s a quick rundown of what the Content Control Protection settings let you do:

  1. Protect your main content (e.g., posts and pages) with either a redirect or by replacing content.
  2. Select how to protect your content if it’s part of a blog, category, or tag archive page.
  3. Decide how to protect your content if it’s displayed outside standard WP queries (i.e., everywhere else).

We’ll focus on #2 and #3 from the list above.

To learn about redirect and replacing content protection (#1), read these guides.

Cc V2 Global Restriction Protection Tab New 1024W

Handling Matches Within Archives

1. Filter the restricted items’ title, excerpt, and content.

Protect the content but allow the title and excerpt to display on archive pages.

Cc V2 Protection Handling Archives Filter 1024W

Here’s an example of our blog page where we protect Test Post 2 with the Filter the restricted items’ title, excerpt, and content. setting.

Cc V2 Selected Post Blog Archive 1024W

2. Hide the restricted items from the archive page.

Protect the content and don’t list it (hide) on any archive page.

Cc V2 Protection Archive Hide

Using our example above, Test Post 2 won’t show on the blog page.

Cc V2 Selected Post Hide Blog Archive 1024W

3. Replace the entire archive page with a custom page.

If there is at least 1 restricted post that shows on an archive, this will replace the (entire) archive contents with the contents of a page you choose.

Cc V2 Archive Replace With Custom Page Setting 1024W

In our example, notice below that the blog URL stays the same. There’s no redirect. The contents of the Yikes! page “takes over” the contents of the blog archive.

Cc V2 Archive Replace With Custom Page 1024W

4. Redirect to a different page.

If there is at least 1 restricted post that shows on an archive, you can redirect to:

  1. Your site’s Login page, then redirect back to your archive
  2. Your site’s homepage
  3. A custom URL (internal or external)
Cc V2 Slected Post Archives Redirect 1024W

Handling Matches Everywhere Else

This is a catch-all setting. You can either show or hide the title for restricted content in any place outside the main content area.

Cc V2 Protection Handling Everywhere Filter 1024W

Is this article helpful? What are your feelings