{"id":27568,"date":"2014-01-31T19:35:14","date_gmt":"2014-01-31T19:35:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/rel-nofollow\/"},"modified":"2025-12-06T05:07:51","modified_gmt":"2025-12-06T05:07:51","slug":"rel-nofollow","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/rel-nofollow\/","author":5960439,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"1.4","tested":"6.9.4","requires":"3.7","requires_php":"","requires_plugins":null,"header_name":"Rel nofollow","header_author":"Stefano Ottolenghi","header_description":"","assets_banners_color":"","last_updated":"2025-12-06 05:07:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=2WDRMXGHWCCUY","header_plugin_uri":"http:\/\/www.thecrowned.org\/wordpress-plugins\/rel-nofollow","header_author_uri":"http:\/\/www.thecrowned.org\/","rating":4.6,"author_block_rating":0,"active_installs":800,"downloads":36555,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Ste_95","date":"2016-04-02 17:10:08"},"1.1":{"tag":"1.1","author":"Ste_95","date":"2016-12-13 21:48:33"},"1.2":{"tag":"1.2","author":"Ste_95","date":"2019-02-18 17:01:06"},"1.3":{"tag":"1.3","author":"Ste_95","date":"2020-03-24 07:19:55"},"1.4":{"tag":"1.4","author":"Ste_95","date":"2025-12-06 05:07:51"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":0,"5":4},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[175,3080,186],"plugin_category":[55],"plugin_contributors":[83165],"plugin_business_model":[],"class_list":["post-27568","plugin","type-plugin","status-publish","hentry","plugin_tags-links","plugin_tags-rel","plugin_tags-seo","plugin_category-seo-and-marketing","plugin_contributors-ste_95","plugin_committers-ste_95"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rel-nofollow.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>When a post is saved, the plugin adds the rel=\"nofollow\" attributes to post external links. The plugin also provides an apt checkbox to exclude a post from plugin's action.<\/p>\n\n<p>Links which already have a <em>rel<\/em> attribute are just ignored, so you can set some <em>dofollow<\/em>s are well.<\/p>\n\n<p>By default, the plugin will only act on <em>posts<\/em>, no pages or other custom post types. To include (some of) them, use a code like the following, for ex. by putting it in your theme's <em>functions.php<\/em>:<\/p>\n\n<pre><code>add_filter( 'rnf_post_types', function( $post_types ) {\n    return array( 'post', 'page' ); #specify all desired CPTs, comma-separated\n});\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.4 (2020\/07\/30)<\/h4>\n\n<ul>\n<li>Tweak: only include posts into plugin action (no pages or CPTs). To include other CPTs, see plugin description.<\/li>\n<\/ul>\n\n<h4>1.3 (2019\/08\/29)<\/h4>\n\n<ul>\n<li>Tweak: considering links as internal if on the same hostname (eg. if WP is installed in www.hostname.com\/wordpress, even links pointing to www.hostname.com are internal).<\/li>\n<li>Fix: now adding rel nofollow even if a (different) rel attribute is already present, preserving it as well.<\/li>\n<\/ul>\n\n<h4>1.2 (2017\/01\/09)<\/h4>\n\n<ul>\n<li>Fix: plugin not ignoring links which already had the rel attribute.<\/li>\n<li>Tweak: bit of performance improvement.<\/li>\n<\/ul>\n\n<h4>1.1 (2016\/05\/21)<\/h4>\n\n<ul>\n<li>New: adding the nofollow only to external links.<\/li>\n<li>Tweak: declaring as static some class methods.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Adds rel=&quot;nofollow&quot; to posts external links unless specified otherwise.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27568"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ste_95"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27568"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27568"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27568"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27568"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27568"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}