{"id":1791,"date":"2024-12-26T12:34:29","date_gmt":"2024-12-26T11:34:29","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/ouvrir-tous-les-liens-externes-dans-un-nouvel-onglet\/"},"modified":"2024-12-31T18:15:03","modified_gmt":"2024-12-31T17:15:03","slug":"ouvrir-tous-les-liens-externes-dans-un-nouvel-onglet","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/open-all-external-links-in-a-new-tab\/","title":{"rendered":"Open all external links in a new tab"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Enhance the User Experience with WPMasterToolKit's External Links New Tabs Module<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">In the world of modern websites, making navigation easier for users is crucial. When a user clicks on an external link, it's often preferable for that link to open in a new tab to avoid leaving the site they were visiting. With this in mind, we developed the <strong>External Links New Tabs<\/strong> for our WPMasterToolKit plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which plugin can External Links New Tabs replace?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are a number of plugins on the market offering similar functionality, but often through more cumbersome and complex solutions. The plug-in <strong>External Links New Tabs<\/strong> from WPMasterToolKit is designed to replace these plugins by offering a simple, lightweight solution for opening external links in new tabs. It focuses exclusively on this functionality, avoiding superfluity and optimizing the loading of your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key feature: Automatic opening of External Links in a New Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This module works by automatically adding the attribute <code data-no-auto-translation=\"\">target=\"_blank\"<\/code> attribute to all external links present in the content of your WordPress site. In addition to this, for security and SEO reasons, it also adds the attribute <code data-no-auto-translation=\"\">rel=\"noopener noreferrer nofollow\"<\/code>. This not only ensures that the link opens in a new tab, but also protects your site from potential hacking via the vulnerability known as \"tabnabbing\" while optimizing for SEO.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I use the External Links New Tabs Module?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using the External Links New Tabs module couldn't be simpler. Once activated in WPMasterToolKit, it starts working instantly, with no further configuration required. All external links on your site will open in new tabs, guaranteeing better navigation management for your visitors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Our technical approach<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The heart of this module is based on a WordPress filter <code data-no-auto-translation=\"\">the_content<\/code>. By intercepting content before it is displayed, our module reviews all link elements <code data-no-auto-translation=\"\">&lt;a&gt;<\/code> to ensure that they meet the defined criteria. It's an efficient solution that doesn't overload your site with extra scripts or unnecessary calls.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to customize or extend this functionality, you can use the filter <code data-no-auto-translation=\"\">the_content<\/code> assuring us that this would not interfere with other possible customizations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The External Links New Tabs module is a simple yet effective solution for improved management of external links on your WordPress site. By moving the user's attention to a new page without losing their place on your site, you improve the user experience while keeping your site secure and SEO friendly. Thanks to WPMasterToolKit, it's never been easier to optimize your WordPress site with essential, lightweight and impactful features.<\/p>","protected":false},"excerpt":{"rendered":"<p>Dans le monde des sites web modernes, l&rsquo;optimisation de la navigation utilisateur est essentielle. Le module External Links New Tabs de WPMasterToolKit r\u00e9pond \u00e0 ce besoin en ouvrant automatiquement les liens externes dans de nouveaux onglets, assurant ainsi une meilleure exp\u00e9rience utilisateur. L\u00e9ger et simple \u00e0 utiliser, il remplace avantageusement des solutions plus complexes. Le module ajoute \u00e9galement des attributs de s\u00e9curit\u00e9 pour prot\u00e9ger votre site et am\u00e9liorer le SEO. Cette fonctionnalit\u00e9, qui s&rsquo;active sans configuration, enrichit votre site de mani\u00e8re efficace tout en garantissant une navigation fluide pour vos visiteurs.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":true,"_seopress_titles_title":"Boostez UX : Ouvrez liens externes en nouvel onglet facile","_seopress_titles_desc":"Optimisez la navigation avec le module External Links New Tabs de WPMasterToolKit, la solution l\u00e9g\u00e8re pour ouvrir les liens externes en nouveaux onglets.","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"both","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-1791","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/1791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=1791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}