Nofollow makes the links in comments and messages really work

Nofollow makes the links in comments and messages really work

Comments and messages were originally a great way for webmasters to build community and readership. Unfortunately, comment and message features are often abused by spammers and other bad actors, many of whom use scripts or other software to generate and post spam comments.

Too many spam messages of this kind not only affect the appearance, but in most cases will also have a negative impact on the search engine ranking of your website! This has led many webmasters to prohibit the posting of URL hyperlinks in comments or messages, but this makes it impossible to reply to some content that really needs link guidance.

Now, we can use the "nofollow" tag. A few years ago, major search engines such as Google, Yahoo! and MSN introduced "nofollow", and this attribute has been widely adopted. Any links that use the rel="nofollow" attribute will not be used to calculate PageRank or determine the relevance of your page to a user query.

For example, if a spammer puts a link like this in your comment:

<a href="https://www.jb51.net/">This is a nice website! </a>It will be converted to:

<a href="https://www.jb51.net/" rel="nofollow">This is a nice website! </a>This new link will not be taken into account when calculating PageRank.

In this way, problems that occur when passing PageRank can be avoided. Although spam comments and messages cannot be avoided, meaningful directional links can still be published normally!

By default, many blogging sites (such as Blogger) automatically add this attribute to all posted comments.

<<:  Detailed explanation of CSS margin collapsing

>>:  Specific use of the autoindex module in the Nginx Http module series

Recommend

Reasons and methods for Waiting for table metadata lock in MySQL

When MySQL performs DDL operations such as alter ...

Vue detailed explanation of mixins usage

Table of contents Preface 1. What are Mixins? 2. ...

MySQL variable principles and application examples

In the MySQL documentation, MySQL variables can b...

The qualities and abilities a web designer should have

Web design is an emerging marginal industry that c...

About the processing of adaptive layout (using float and margin negative margin)

Adaptive layout is becoming more and more common i...

Two ways to manage volumes in Docker

In the previous article, I introduced the basic k...

Advantages and Problems of XHTML CSS Website Design

XHTML is the standard website design language cur...

MySQL database constraints and data table design principles

Table of contents 1. Database constraints 1.1 Int...

Typescript+react to achieve simple drag and drop effects on mobile and PC

This article shares the specific code of typescri...

Implementation of MySQL custom list sorting by specified field

Problem Description As we all know, the SQL to so...

Tutorial on installing and uninstalling python3 under Centos7

1. Install Python 3 1. Install dependency package...

jQuery plugin to implement minesweeper game (1)

This article shares the specific code of the firs...

Common writing examples for MySQL and Oracle batch insert SQL

Table of contents For example: General writing: S...