Red Hat Bugzilla – Bug 846514
Need to default add rel="no-follow" on comment links to discourage spam postings wanting seo backlinks
Last modified: 2015-05-14 21:13:15 EDT
Description of problem:
It was brought up awhile ago that we should by default, include rel="nofollow" on all links in comments. Otherwise we are inviting spammers to post comments with links to their sites in order to gain seo backlinks.
Fixed by adding rel="nofollow" to all links in comments.
(In reply to comment #1)
Tested using external links like "www.baidu.com" or "www.google.com", it will be embeded like "https://ec2-23-22-203-28.compute-.amazonaws.com/community/forums/express/www.google.com", so can not redirect to external site from links in our comments, thanks.
This can be handled by the input filter.
We need to create a separate input format on production for comments with the "Spam deterrent" checkbox created. I'm reverting the fix in production because it was the cause of bug 869203
If we change the default format then all content created by most users will default to having nofollow - which includes content created in blog posts and forum threads.
Created a story to cover this https://rally1.rallydev.com/#/4670513817d/detail/userstory/9535973774