. . . in the distant, early morning . . .


. . . she awoke, tears still streaming . . .


Welcome, stranger!

Login Now .::. Contact Lisa for an account

Search



ExpressionEngine Tip: rel=“nofollow” for Member Profiles

One of my favorite new features of ExpressionEngine 2 is that the member templates are run through the full template engine.  This means you can use add-on tags, channel entries tags, etc.  Anything you can use in a template, you can use in your member templates.

So, someone asked if one could use nofollow links automatically in EE.  Yes, you can, using the NoFollow plugin.

The example in the docs is around comments.  However, you can use this in your EE 2 member templates by opening up CP Home > Design > Themes > Member Profile Templates > Your Member Theme > Public Member Profile and surround any fields that might have links in them (such as the bio) with the plugin code, ala:

{exp:no_follow}
        {bio}
{
/exp:no_follow} 

and this is what you get:

rel=nofollow
(I did turn off rank denial for that screenshot.  I recommend keeping that on!)

.. and of course, you can use the plugin’s parameters for exceptions as desired.

Enjoy!


-Lisa, on November 7, 2010 at 5:25 pm