If you have upgrade to WordPress version 4.7.4 or higherthen you must notice a new tag
rel = "noopener" Besides
mục tiêu = "_ trống" tags in the HTML editor. The card is automatically add all internal and external links when you open them in a new tab.
Like any other relevant web developer, you must be wondering what this tag does and Will it negatively affect your site in any way??
Well, in this article I will tell you what is
rel = "noopener" in WordPress and how you can remove it if needed.
What is “noopener” rel?
Hackers can use this feature to User’s Switch Now Opens Fake Website and steal information, such as login details. Here is an example website that shows how window.opener can hijack your tab.
To prevent this,
This security fix was added to the TinyMCE plugin on November 23, 2016. Since WordPress uses TinyMCE as its text editor, it also Updated with this feature in WordPress version 4.7.4.
Is it bad for your website?
Many WordPress users are concerned that
rel = "noopener" can make all internal and external links “nofollow”, This is really bad for SEO. In reality,
Website SEO is affected by search engines and they do not interact with
rel = "noopener" label. Also analysis software completely ignores this tag.
This could be a bit of a problem when WordPress was first added
rel = "noopener noreferrer" label before the fix is released with WordPress version 4.7. In the old version, “noreferrer” prevented the link from knowing where it actually came from.
Although it did not affect SEO, some analytics tools and affiliate programs were affected. However, it seems WordPress has now removed the “noreferrer” tag and you have no problem with
rel = "noopener" label. Just make sure you Update to the latest version of WordPress.
How to remove rel=”noopener”
I don’t see any good reason to remove
rel = "noopener" from your post. It does not affect SEO, does not affect analytics tools, and affiliate links will not be broken. It only protect your users from potentially malicious links That can hijack their tabs.
rel = "noopener" can be a bit difficult as it is integrated into the WordPress text editor. Even if you manually remove it from the HTML code, it will be add it again when you will save the document. So your best bet is to disable the feature from the TinyMCE plugin itself.
To do this, you will have to add some lines of code in Functions.php file your WordPress theme.
inside Functions.php file, copy and paste the below mentioned code and save it:
// Lưu ý rằng điều này cố ý vô hiệu hóa một tính năng bảo mật tinyMCE. // Không nên sử dụng mã này.add_filter ('tiny_mce_b Before_init', 'tinymce_allow_unsafe_link_target'); hàm tinymce_allow_unsafe_link_target ($ mceInit) $ mceInit ['allow_unsafe_link_target'] = true; trả lại $ mceInit;
This will prevent WordPress from automatically adding
rel = "noopener" label in your post. However, this will not remove already added tags, so you will have to manually remove them from saved posts after updating WordPress 4.7.
No need to be afraid
rel = "noopener" tagged as it’s a step forward to secure your website visitors. Unless you want to use the window.opener feature, you should embrace this new version of the security feature.
If there is any other reason why you are looking to remove
rel = "noopener" tag, then shed light on us in the comments below.
Last, Ched All sent you details about the topic “What rel = no fans in WordPress and how to remove it / WordPress
❤️️”.Hope with useful information that the article “What rel = no fans in WordPress and how to remove it / WordPress
” It will help readers to be more interested in “What rel = no fans in WordPress and how to remove it / WordPress
[ ❤️️❤️️ ]”.
Posts “What rel = no fans in WordPress and how to remove it / WordPress
” posted by on 2023-01-17 07:20:43. Thank you for reading the article at Chedall.com