How do I exclude pages from being recommended?

Depending on your website, you may want to exclude certain pages from being recommended, such as 'thank you', custom 404, and 'contact us' pages. There are several options available to quickly filter content from appearing in the Related Content app.

How to exclude pages from being recommended

Exclude pages from your Shareaholic.com account

  • Log in to your Shareaholic account and click on Site Tools.
  • Click the Settings button next to the listing of your website

  • Select the Related Content tab.

  • Enter webpage URLs into the Pages to Exclude from Related and Promoted Content field and click Save Settings

URLs can be matched with wildcards (*'s), too. One per line.

Example: http://www.mywebsite.com/archive/*.

If your website runs both with and without SSL, you should consider wildcarding the protocol section of the URL.

Example: http*://*mywebsite.com/archive/*

For advanced users, applying your own string of Regular Expressions (or "regex") will allow you to use your own exclusion patterns. You will need to begin the line with a: ^ 

Example: ^http:\/\/mywebsite\.com\/2011(\/\d+){0,2}\/?$

 

Exclude pages directly from Shareaholic for WordPress plugin

There are two ways to exclude pages from related content using the Shareaholic WordPress plugin. 

Option 1. From individual pages and posts, you can use the plugin option boxes available to you on the New/Edit Post and New/Edit Page screens to easily exclude individual entries from being recommended:


Option 2. From the Shareaholic for WordPress App Manager

  • Click on the Edit Related Content Settings button in the plugin App Manager
  • Paste webpage urls into the Pages to Exclude from Related and Promoted Content box and click Save Settings.

 

Exclude pages using Shareaholic Meta Tag's

If you are a developer, you can also insert a Shareaholic Meta Tag into your webpage's HTML to mark it as private. Include the following meta tag within the <head> section of the pages you would like to exclude from Related Content:

<meta name='shareaholic:article_visibility' content='private' />

Have more questions? Submit a request

Comments

Article is closed for comments.