Hi all,
I've searched my way through the forum and google, but didn't found a hint.
How can I activate "nofollow" for links in comments? Do I have to hardcode them or is there any option or plugin available?
Thanks
Jan
nofollow for comment links
-
Don Chambers
- Regular
- Posts: 3659
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
I am unaware of any plugin that does this, but it is quite simple to do. Your template needs a comments.tpl file. If it does not have one, copy the file from /templates/default/ to your template folder. Edit the file and look for something like this:
and modify it to be this:
Code: Select all
(<a class="comment_source_url" href="{$comment.url}" title="{$comment.url|@escape}">{$CONST.HOMEPAGE}</a>)Code: Select all
(<a class="comment_source_url" href="{$comment.url}" title="{$comment.url|@escape}" rel="nofollow">{$CONST.HOMEPAGE}</a>)=Don=
-
Don Chambers
- Regular
- Posts: 3659
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact: