How to add the ‘no follow‘ attribute to the links to blog posts

Customer care manager

Juraj Ondrus asked on March 14, 2009 09:45

How to add the ‘no follow‘ attribute to the links to blog posts

Correct Answer

Juraj Ondrus answered on March 14, 2009 09:45

Open the following file:
<web site folder>/CMSBlog/BlogCommentDetail.ascx.cs

Around line 70, add the following statement:
lnkName.Attributes.Add("rel", "nofollow");

This adds the rel=“nofollow“ attribute to the link to the name of author.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.