{"id":2916,"date":"2023-09-20T16:46:22","date_gmt":"2023-09-20T11:16:22","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=2916"},"modified":"2023-09-20T16:46:22","modified_gmt":"2023-09-20T11:16:22","slug":"open-external-links-in-a-new-window-or-tab","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/","title":{"rendered":"Easy Methods to open external links in a new window or tab"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Are you looking for a way to open external links in a new window or tab in WordPress to keep your audience engaged?\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Being website owners, we understand how important it is to keep users on a website. The more they are engaged with a website, the more helpful it will seem to search engines and the better it will be for the website&#8217;s online SEO.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Providing external links is crucial for SEO but can lead visitors to a different site. Thus, keeping a fine balance between retaining your audience and providing them with helpful and relevant links can be key to maintaining your site&#8217;s usability.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In this guide, we&#8217;ll walk you through different step-by-step methods to help you open external links in a new tab in WordPress.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">So, without further ado, let&#8217;s get started!<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">What is the purpose of opening external links in a new window in WordPress?\u00a0<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">External links are links to websites on the internet other than yours that are added with the purpose of providing relevant content to your audience. Linking is a valuable SEO factor and also plays an important role in your content strategy. The only drawback of external links is that adding an external link to a website will direct your visitors to the external site when they click it, making them leave your site. As a result, the visitors might not return to your site. Additionally, this also increases your site&#8217;s bounce rate, leaving a negative impact on your site&#8217;s ranking in search results.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When you set these external links to open in a new window or tab, visitors can access additional valuable information without leaving your site. In this manner, the original web page they were reading is not lost, and they can return to your site by simply switching back to it.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In addition, this increases your site&#8217;s dwell time and user engagement and helps you enhance your website&#8217;s SEO and, ultimately, its search presence on the web.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">So, let&#8217;s dive into different methods and help you learn how to open external links in a new window or tab in WordPress. You can select the way that you find super easy to implement on your own.\u00a0<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">Quick methods to open external links in a new window or tab in WordPress<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">There are several methods you can follow to open external links in your browser&#8217;s new window or tab. In this section, we&#8217;ll cover five easy-to-implement ways that are beginner friendly and do not require any expertise.\u00a0<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Open External Links in a New Tab Using the Block Editor<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Open External Links in a New Tab Using the Classic Editor<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Open External Links in a New Tab Using HTML Code<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Automatically Open All External Links in New Tab Using a Plugin<\/span><\/li>\n<\/ol>\n<h3><strong><span data-preserver-spaces=\"true\">Method 1: Using the Block Editor\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">WordPress is a flexible platform, and its block editor includes an in-built feature that lets you open external links in a new tab.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When you insert an external link to your content, whether a post or a page, the option &#8216;Open in new tab&#8217; popups on your screen, asking whether you want to open it in a new window.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, open a blog post\/page where you like to insert an external link. Then, select the text (anchor text) to which you like to insert the link and then click on the link option. You can also use the link shortcut &#8220;CTRL + K&#8221; in Windows or Command +K in Mac to insert the link.\u00a0\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2918\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/inserting-link-in-block-editor.png\" alt=\"inserting-link-in-block-editor\" width=\"680\" height=\"157\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/inserting-link-in-block-editor.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/inserting-link-in-block-editor-300x69.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">A popup will emerge on your screen where you can insert the link. Now, simply paste the link you want to add to your blog and press Enter. Then, turn the Toggle On, saying &#8216;Open in New Tab .&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2919\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/open-in-new-tab-in-block-editor.png\" alt=\"open-in-new-tab-in-block-editor\" width=\"680\" height=\"277\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/open-in-new-tab-in-block-editor.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/open-in-new-tab-in-block-editor-300x122.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">That&#8217;s it.\u00a0<\/span><span data-preserver-spaces=\"true\">Now, your external link will open in a new tab.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Method 2: Using the Classic Editor\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">You can follow this method if you are fond of Classic WordPress Editor and still use it on your WordPress site.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, open the post\/page to which you like to add the external link. Next, simply select the text (anchor text) you wish to insert a link to and then click the &#8216;Insert\/edit link option.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2920\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-link-in-classical-editor.png\" alt=\"insert-link-in-classical-editor\" width=\"680\" height=\"157\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-link-in-classical-editor.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-link-in-classical-editor-300x69.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Once done, a popup will appear on your screen where you can insert your external link.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, next to the link box, you will see the settings or gear icon. Simply click on it, and this will open up the advanced insert link popup.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2921\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-or-edit-link-in-classic-editor.png\" alt=\"insert-or-edit-link-in-classic-editor\" width=\"680\" height=\"234\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-or-edit-link-in-classic-editor.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/insert-or-edit-link-in-classic-editor-300x103.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, you can see the check box saying, &#8216;Open link in a new tab.&#8217; Simply select the check box and then click on the &#8216;Update&#8217; tab at the bottom.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">That&#8217;s it! Your external link will now open in a new tab.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Method 3: Using the HTML Code<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">The HTML code method is the third way to open an external link in a new tab. If you more often use HTML to insert code on your site, use the HTML mode in your block editor or desire to add a link in your WordPress theme template, you can use this method.\u00a0<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Note:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0If you are not familiar with HTML coding, you can simply skip this method and select one from the other modes.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To proceed with this method, you can insert the link in the following manner:\u00a0\u00a0<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">&lt;a href=\"http:\/\/example.com\" target=\"_blank\" rel=\"noopener\"&gt;Link Text&lt;\/a&gt;<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">In this code, the target= &#8220;_blank&#8221; parameter directs web browsers to open the link in a new window or tab.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can simply replace &#8216;example.com&#8217; with the URL of the external link and &#8216;Link Text&#8217; with the text (anchor text) you want to use on your site.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Method 4: Using a plugin\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">If you have a lot of blog posts on your site for which you haven&#8217;t enabled the &#8216;open in new tab&#8217; option, enabling it manually for every blog can be a time-consuming task. Also, if you often forget to enable the option, we have a one-click solution for you. You can automatically open all the external links on your site in a new tab using a plugin. This can lower your workload and help you prevent your site&#8217;s SEO.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For this, we are using the &#8216;\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/wordpress.org\/plugins\/open-external-links-in-a-new-window\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">Open External Links in a New Window<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0plugin.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2917\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/Open-external-links-in-a-new-window-or-new-tab-plugin.png\" alt=\"Open-external-links-in-a-new-window-or-new-tab-plugin\" width=\"697\" height=\"378\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/Open-external-links-in-a-new-window-or-new-tab-plugin.png 697w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/Open-external-links-in-a-new-window-or-new-tab-plugin-300x163.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">In order to open your external links in a new window or tab, first of all, you have to install and activate the plugin on your site.\u00a0\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If you are new to this, you can check out the guide on\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/hostkicker.com\/blog\/how-to-install-a-wordpress-plugin\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">how to easily install and activate a WordPress plugin on your site<\/span><\/a><span data-preserver-spaces=\"true\">.\u00a0\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The plugin is easy to use and does not require any additional settings. Once you activate it on your WordPress site, it will automatically start working, and all the external links will now be opening in the new window or tab.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Note that if you deactivate the plugin, it will prevent external links from opening in a new tab.\u00a0\u00a0<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">Closing Thoughts!<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">Every aspect of a website, whether small or big, is valuable and has its own significance when it comes to search engine optimization. External links are one of the valuable SEO factors that help visitors find relevant information on the web and enhance a website&#8217;s user experience. However, if not inserted properly, it can impact a website&#8217;s SEO and its presence on search engines.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In this guide, we discussed how you can prevent your site&#8217;s user experience and SEO simply by opening your blog&#8217;s external links in a new window. Here, we&#8217;ve covered four easy and simple methods that anyone can easily learn and implement on their website. We hope this step-by-step guide has assisted you in learning how to open external links in a new window or tab in WordPress. If you&#8217;ve liked this tutorial, you may also want to read our other guides.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Read Also:<a href=\"https:\/\/hostkicker.com\/blog\/display-code-on-your-wordpress-site\/\"> How to display code on your WordPress site<\/a><\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Read Also: <a href=\"https:\/\/hostkicker.com\/blog\/how-to-create-a-custom-wordpress-search-form\/\">How to create a custom WordPress search form<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you looking for a way to open external links in a new window or tab in WordPress to keep your audience engaged?\u00a0 Being website owners, we understand how important it is to keep users on a website. The more they are engaged with a website, the more helpful it will seem to search engines [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2981,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2916","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Easy Methods to open external links in a new window or tab - Hostkicker<\/title>\n<meta name=\"description\" content=\"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Easy Methods to open external links in a new window or tab\" \/>\n<meta property=\"og:description\" content=\"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-20T11:16:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"Easy Methods to open external links in a new window or tab\",\"datePublished\":\"2023-09-20T11:16:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/\"},\"wordCount\":1327,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-open-external-link-in-a-new-tab.jpg\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/\",\"name\":\"Easy Methods to open external links in a new window or tab - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-open-external-link-in-a-new-tab.jpg\",\"datePublished\":\"2023-09-20T11:16:22+00:00\",\"description\":\"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-open-external-link-in-a-new-tab.jpg\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-open-external-link-in-a-new-tab.jpg\",\"width\":693,\"height\":511,\"caption\":\"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/open-external-links-in-a-new-window-or-tab\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Easy Methods to open external links in a new window or tab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Easy Methods to open external links in a new window or tab - Hostkicker","description":"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/","og_locale":"en_US","og_type":"article","og_title":"Easy Methods to open external links in a new window or tab","og_description":"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0","og_url":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/","og_site_name":"Hostkicker","article_published_time":"2023-09-20T11:16:22+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","type":"image\/jpeg"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"Easy Methods to open external links in a new window or tab","datePublished":"2023-09-20T11:16:22+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/"},"wordCount":1327,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/","url":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/","name":"Easy Methods to open external links in a new window or tab - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","datePublished":"2023-09-20T11:16:22+00:00","description":"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","width":693,"height":511,"caption":"\u00a0Learn easy ways to\u00a0open external links in a new window or tab in WordPress and prevent users from leaving your site.\u00a0"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/open-external-links-in-a-new-window-or-tab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Easy Methods to open external links in a new window or tab"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-open-external-link-in-a-new-tab.jpg","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=2916"}],"version-history":[{"count":2,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2916\/revisions"}],"predecessor-version":[{"id":2982,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2916\/revisions\/2982"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/2981"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=2916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=2916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=2916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}