Top Links on user profile have no rel="nofollow"

AI-generated summary

The discussion revolves around the absence of rel="nofollow" in links on a user’s profile, specifically in the “Top Links” section. gerhard points out this discrepancy and also notes that the “Popular Links” section of a topic is missing this attribute as well. zogstrip confirms that the issue has been fixed, but notes that adding rel="nofollow" to the “Popular Links” section of topics is more complicated due to the need to test the trust level of each user who submitted a link. gerhard suggests that adding rel="nofollow" to every popular link could be a simpler solution.

By default Discourse adds rel="nofollow" to links posted by users.

There’s no rel="nofollow" on the user’s profile in the Top Links section.

2 Likes

And, this is related, it’s also missing in the “Popular Links” section of a topic:

It’s now fixed :wink:

https://github.com/discourse/discourse/commit/c117a48e93768a51b485264b6579380b90b2b3c6

The “Popular Links” section of a topic is harder since we need to test the trust level of the user that submitted each links… Not sure it’s worth the work.

4 Likes

The easy way out would be to add it to every popular link. :wink: The link already exists somewhere within the topic and if the user has the right trust level, then it doesn’t have a nofollow attribute.

4 Likes