Restrictions based on the HTTP Headers

With this restriction, you can display or hide content based on the information available in the HTTP headers.

Please note that the plugin allows you to either display additional information on the restriction (as we did in this demo page) or completely remove the block from the layout.

Example 1

The following block is available with the HTTP requests that have one the following values in the User-Agent request header:

  • bot
  • crawl
  • spider
  • Yandex
Restricted Content
Sorry, this content isn't available right now.

Example 2

The following block is available with the HTTP requests that have one the following values in the Referer request header:

  • https://google.com/
  • https://twitter.com/
Restricted Content
Sorry, this content isn't available right now.