WORDPRESS 4.7.4 LINKS

For some reason WordPress 4.7.4 has made some changes to the way it handles advertising links.

The problem arose with the abuse of target=”_blank” where it was termed reverse tab napping. We have not seen this reported so we suspect that is more a WordPress related problem.

WordPress adds rel=”noreferrer noopener” to links using target=”_blank” which will have a problem Google Webmaster etc which shows linked resources etc.

This is different from the rel=”nofollow” which signals a search engine that the link is an advertiser. This change may more may not have an impact on SEO for a given site.

Most advertisers use JavaScript to handle images and links and they do not seem to be affected.

DISABLE THE TAGS

Adding this code to the bottom of your  functions.php will fix the problem, however the alleged security problem remains

// Note that this intentionally disables a tinyMCE security
feature.add_filter(‘tiny_mce_before_init’,’tinymce_allow_unsafe_link_target’);
function tinymce_allow_unsafe_link_target( $mceInit ) {
$mceInit[‘allow_unsafe_link_target’]=true;
return $mceInit;
}