WordPress.org

Ready to get started?Download WordPress

Ideas

Making Nofollow wordpress main links

  1. Andri2121
    Member

    12345

    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: 4 years ago #
  2. Tanah Abang
    Member

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

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea has been implemented