Making Nofollow wordpress main links

  1. Andri2121


    Making Nofollow wordpress main links. In addition to using nofollow plugins from home that we have discussed in advance, the more information we can mengatributkan nofollow on links that awakened some naturally by wordpress system, such as the links that led to the tags, "edit this post", author post the link, comment and so on. And here are the functions we have slightly modified, temtukan file containing the function, and then we simply add rel = "nofollow" between each "a" and "href" which is appropriate in these functions.

    * Wp_generate_tag_cloud, get_the_category_list, get_the_term_list, this function is located in the file / wp-includes/category-template.php - this will add a nofollow on every tag cloud and category links.

    * Edit_post_link within the link-template.php - it will add nofollow to "Edit this post" links that appear when you login as admin into wordpress dashboard.

    * The_author_posts_link, located in wp-includes/author-template.php - this will mengatributkan nofollow links to the author.

    * Comments_popup_link, this function is in the file located in wp-includes/comment-template.php - add rel = "nofollow" in this section will make nofollo links on the comment.

    Give it a try bro ...

    Posted: 8 years ago #
  2. Jakmode

    I think this is very interesting and I have tried it, it worked!

    Posted: 5 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    3 Votes
  • Status

    This idea has been implemented