1. SEJ
  2.  ⋅ 
  3. News

WordPress 5.3 Adopts Rel UGC Nofollow Link Attribute

WordPress Rel UGC Link Attribute

WordPress announced that WordPress 5.3, coming next month will support Google’s UGC Nofollow attribute by default. Starting November 12, 2019, all links in the comments section will automatically use the UGC nofollow link attribute.

UGC Nofollow Attribute

The UGC nofollow link attribute is a code announced by Google on September 10, 2019 that tells Google that a link is in the context of user generated content and should not be trusted.

Impact of Rel UGC to WordPress Sites

Any WordPress plugin that is involved with user generated content and links may have to update their code in order to support the new code.

The old callback:


has been deprecated in favor of a new callback:


The WordPress announcement did not specify if plugins using the old code would break the site or simply gracefully degrade.

Multi-Search Engine Compatibility

Google has indicated it will support rel=ugc. However other search engines have no indicated support for that code. In order to support all search engines, WordPress will output the UGC nofollow in a manner that supports all search engines.

This is the code:

rel=”nofollow ugc

Does Rel UGC Help WordPress Publishers?

There is no ranking benefit to the publisher for using the UGC nofollow attribute.

The UGC nofollow attribute benefits Google because it helps Google understand that a link was created by someone outside of the publisher’s control and that the link should not be trusted.

WordPress Code Deprecation

This change is important for WordPress developers because it involves a change to the code.

Here is how WordPress explains the change:

“In WordPress 5.3, wp_rel_nofollow_callback() will be deprecated in favor of more generic callback function, wp_rel_callback(), which is now used to add other rel attribute values to a specified link.

wp_rel_callback() is used by the existing wp_rel_nofollow() function to add a single “nofollow” value, and with the new wp_rel_ugc() function, developers can add both “nofollow” and “ugc” values to the rel attribute.”

And this is an example that WordPress shared on how to use the new code:

$link = ‘<a href=””>User generated link example</a>’;
$ugc_link = wp_rel_ugc( $link );
echo $ugc_link;
// output: <a href=”” rel=”nofollow ugc”>User generated link example</a>


  • Change to the rel nofollow link attribute goes into effect with WordPress 5.3 scheduled for November 12, 2019
  • The change to the new UGC nofollow attribute will still work with other search engines
  • Old nofollow callback has been deprecated
  • The average WordPress user may not experience any inconvenience

More Resources

Category News WordPress
SEJ STAFF Roger Montti Owner - at

I have 25 years hands-on experience in SEO and have kept on  top of the evolution of search every step ...

WordPress 5.3 Adopts Rel UGC Nofollow Link Attribute

Subscribe To Our Newsletter.

Conquer your day with daily search marketing news.