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

js to achieve simple drag effect

This article shares the specific code of js to ac...

Detailed explanation of Nginx configuration file

The main configuration file of Nginx is nginx.con...

How to install and uninstall open-vswitch in Linux

1. Compile and install ovs from source code: Inst...

Implementation of importing and exporting docker images

Docker usage of gitlab gitlab docker Startup Comm...

Web Design Tutorial (5): Web Visual Design

<br />Previous article: Web Design Tutorial ...

How to package the uniapp project as a desktop application

Installing Electron cnpm install electron -g Inst...

Implementation of TypeScript in React project

Table of contents 1. Introduction 2. Usage Statel...

js+css to realize three-level navigation menu

This article example shares the specific code of ...

An article to quickly understand Angular and Ionic life cycle and hook functions

Table of contents Angular accomplish Calling orde...

MySQL method steps to determine whether it is a subset

Table of contents 1. Problem 2. Solution Option 1...

Implementation steps for setting up the React+Ant Design development environment

Basics 1. Use scaffolding to create a project and...

Solution to the problem that docker logs cannot be retrieved

When checking the service daily, when I went to l...