Drupal: .htaccess Access Deny
August 21, 2014 – 7:59 am | No Comment

In this article I will tell how to forbid access to certain resources for some clients. The instructions will include descriptions of different directives.

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

Drupal Modules: Nofollow List

Submitted by on July 28, 2010 – 8:12 amNo Comment

Allows a blacklist of sites that will have a rel="nofollow" attribute added to their link tags whenever used on your site. Originally the only page in the blacklist was Wikipedia, though it now allows an admin controlled blacklist and whitelist.\

Attention: You need configure input formats and add this to a format for this module to work.

Since this is a filter module, it only works on text that is passed through Drupal’s filter system. The biggest example of content passed through the filters are the body of content, blocks, and cck text fields where the user specifies an input format. It will not work on several areas including menus, site footers, mission statements, and profile fields.

If you wish to add nofollow to all external links you simply add your site to the "whitelist".

For more information on the motivation for this module see Just say NO(follow) Wikipedia links!

Installation

  • The module is installed as usual
  • You need activate "Nofollow list filter " in the required input formats.

Configuration

I found that there can be either whitelist or black list.

Thus you can:

  • Forbid indexing ALL exterior links to exterior sites (select "whitelist" and don’t specify sites)
  • Forbid indexing ALL links EXCEPT the defined ones (select "whitelist" and specify these sites)
  • Forbid indexing links ONLY to specified sites (select "blacklist" and specify these sites)
  • Allow indexing ALL links to exterior sites (select "blacklist" and do not specify the sites)

So much wisdom!

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.