Custom URL Filters will allow you to exclude a large group of your pages, in bulk, from Grow.
Excluding content will impact all Recommended Content widgets:
- Inline Recommended Content
- Sidebar Recommended Content
- Header Carousel on Desktop
- What's Next on Mobile
It will also exclude content from your Grow Search, Automailer emails, and (for Mediavine publishers) the Grow Slidebar Ad Unit.
How to set up URL exclusions
Step 1: Navigate to Grow Publisher Portal > Site Settings > Recommended Content > Advanced. From there you'll see the Custom URL Filters option.
Grow has set up common URL structures that are automatically excluded:
- /category/ , /categories/ , /tag/ , /tags/
- /page/ - i.e. /page/2/
- Your site's homepage
- /about/
- /privacy-policy/
- /contact/
Important Notes:
- These filters will only work if they match the verbiage entirely so an "about-me" page may still appear since it isn't just "about."
- Subpages/subcategories are included the filters. So, for example, if you have a URL structure where the category name follows the /category/ like www.grow.me/category/category-name/, you won't need to exclude each category individually.
- You can delete any of the existing filters to let those pages appear in Recommended Content. You can also delete any of the filters you add at a later date.
Step 2: Write your Filter(s)
Grow uses something called regular expressions or regex to specify these filters. Adding in regex exclusions looks like it could be complicated, but here are few examples to get you familiar.
Example 1
We want to exclude any of our Review pages from Recommended Content. Our URL structure for that is:
We'll want to add a Custom URL Filter for the following:
- .*/reviews/.*
Using the URL filter above, it would exclude https://yoursitename.com/reviews/ along with any pages in the reviews category like https://yoursitename.com/reviews/example-post-1 and https://yoursitename.com/reviews/example-post-2.
Example 2
We want to exclude any monthly archive date in the URL. Here's our URL structure for that:
We'll want to add a Custom URL Filter for the following:
- .*/20[0-9]+/.*
Just a note for this example - if you have dates in your URLs, like https://yoursitename.com/2020/04/this-is-a-post, the above filter would also exclude those posts.
Example 3
We want to exclude our subscription or purchase landing pages. Here's our URL structure for that:
We'll want to add a Custom URL Filter for the following:
- .*/(thanks-for-subscribing|thanks-for-purchasing)/
Step 3: Make sure to Save Changes after you've added your filter(s).