WordPress: Adding nofollow on links in posts

WordPress: Adding nofollow on links in posts

WordPress: Adding nofollow on links in posts

Nofollow is 1 HTML attributes used to tell search engines not to follow the target of links to other websites. Effective use nofollow, you can control the flow of PageRank in the site. For blog WordPress , have one little trick can insert nofollow on the links in the article is very simple as follows:

Open the file functions.php and inserting the following code:

add_filter ('the_content', 'my_nofollow'); 

function my_nofollow ($ content) { 
    return stripslashes (wp_rel_nofollow ($ content)); 
}

Save it's done! From now you can rest assured that the blog PageRank will not be lost out.

Plugin now has the job on a full-automatic, more just add nofollow to all external link only. You can download the plugin at page External Nofollow WordPress Plugin .

[According Deluxe Blog Tips ]

0 Response to "WordPress: Adding nofollow on links in posts"

Post a Comment

Best SEO WordPress Themes, Best SEO Friendly WordPress Themes, Best SEO Optimized WordPress Themes