{"id":5523,"date":"2022-05-11T14:17:08","date_gmt":"2022-05-11T21:17:08","guid":{"rendered":"https:\/\/harperkingsley.net\/blog\/internal-links-opening-in-a-new-tab-doh\/"},"modified":"2022-05-11T14:17:08","modified_gmt":"2022-05-11T21:17:08","slug":"internal-links-opening-in-a-new-tab-doh","status":"publish","type":"post","link":"https:\/\/harperkingsley.net\/blog\/internal-links-opening-in-a-new-tab-doh\/","title":{"rendered":"Internal links opening in a new tab, d&#8217;oh"},"content":{"rendered":"<p>I did not want to add a plugin to have external links open in a new tab (links to Patreon, Ko-fi, Twitter, etc.) so I added the &quot;base target=&quot;_blank&quot; HTML to my WordPress header.<\/p>\n<p>So now, external links open in new tabs, which is what I wanted, but <em>internal links are doing it too<\/em>. Ugh.<\/p>\n<p>I don&#8217;t know how to fix it yet, which is enraging, but I will keep pounding away at the problem.<\/p>\n<p>If all else fails, I guess I&#8217;ll have to install a plugin, but I would prefer not to have to do that. As it is understood that the more third-party plugins get installed, the more chance of vulnerabilities being installed as well.<\/p>\n<p><em>sigh<\/em> This week has been bloody murder on my nerves.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did not want to add a plugin to have external links open in a new tab (links to Patreon, Ko-fi, Twitter, etc.) so I added the &quot;base target=&quot;_blank&quot; HTML to my WordPress header. So now, external links open in new tabs, which is what I wanted, but internal links are doing it too. Ugh.&hellip;<\/p>\n <a href=\"https:\/\/harperkingsley.net\/blog\/internal-links-opening-in-a-new-tab-doh\/\" title=\"Internal links opening in a new tab, d&#8217;oh\" class=\"entry-more-link\"><span>Read More<\/span> <span class=\"screen-reader-text\">Internal links opening in a new tab, d&#8217;oh<\/span><\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"Layout":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["entry","author-harperkingsley0-0","post-5523","post","type-post","status-publish","format-standard","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2pPoL-1r5","jetpack-related-posts":[{"id":1358,"url":"https:\/\/harperkingsley.net\/blog\/tweetbutton\/","url_meta":{"origin":5523,"position":0},"title":"Adding Shortlinks to WordPress Tweet Button Through Jetpack plugin","author":"Harper Kingsley","date":"August 1, 2012","format":false,"excerpt":"[maj update=\"02\/08\/12\"]Totally got Jossed, now the Twitter links look worse than ever. Hopefully they fix that in the next update. Sorries! This is the old way to fix your posts.[\/maj] Okay, so I changed up my Twitter button on Jetpack so I could use a short link and add \"Via\u2026","rel":"","context":"In &quot;Real Life&quot;","block_context":{"text":"Real Life","link":"https:\/\/harperkingsley.net\/blog\/category\/real-life\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3145,"url":"https:\/\/harperkingsley.net\/blog\/the-evils-of-guest-blogging\/","url_meta":{"origin":5523,"position":1},"title":"The evils of guest blogging?","author":"Harper Kingsley","date":"April 16, 2014","format":false,"excerpt":"I am so confused! I got sent this link = http:\/\/searchengineland.com\/matt-cutts-stick-a-fork-in-it-guest-blogging-is-done-182147 = and now I'm just like \"Huh?\" Because obviously I have no idea what I'm doing. I turned off Trackbacks and Pingbacks because of all the spam I was getting, but I guess I should be using the \"nofollow\"\u2026","rel":"","context":"In &quot;Around the Internet&quot;","block_context":{"text":"Around the Internet","link":"https:\/\/harperkingsley.net\/blog\/category\/around-the-internet\/"},"img":{"alt_text":"nofollow jpg","src":"https:\/\/i0.wp.com\/www.harperkingsley.net\/blog\/wp-content\/uploads\/2014\/04\/nofollow.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.harperkingsley.net\/blog\/wp-content\/uploads\/2014\/04\/nofollow.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.harperkingsley.net\/blog\/wp-content\/uploads\/2014\/04\/nofollow.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":2998,"url":"https:\/\/harperkingsley.net\/blog\/beatrice-biologist-shared-links-science-comics\/","url_meta":{"origin":5523,"position":2},"title":"Beatrice the Biologist shared some links to science comics","author":"Harper Kingsley","date":"March 2, 2014","format":false,"excerpt":"Beatrice the Biologist, in her awesomeness, has decided to share some links to science-based comics. I've already found some comics that I really like and that I've subscribed to, because at my core I am a follower of all things awesome. I led a session at a conference called Science\u2026","rel":"","context":"In &quot;Signal Boost&quot;","block_context":{"text":"Signal Boost","link":"https:\/\/harperkingsley.net\/blog\/category\/signal-boost\/"},"img":{"alt_text":"Kola Borehole","src":"https:\/\/i0.wp.com\/imgs.xkcd.com\/comics\/kola_borehole.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/imgs.xkcd.com\/comics\/kola_borehole.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/imgs.xkcd.com\/comics\/kola_borehole.png?resize=525%2C300 1.5x"},"classes":[]},{"id":2780,"url":"https:\/\/harperkingsley.net\/blog\/links-chapters-1-3-phoenix-code-catherine-asaro-sci-fi\/","url_meta":{"origin":5523,"position":3},"title":"links to Chapters 1-3 of The Phoenix Code, by Catherine Asaro [sci-fi]","author":"Harper Kingsley","date":"November 18, 2013","format":false,"excerpt":"Title: The Phoenix Code Author: Catherine Asaro Genre: sci-fi Summary from Amazon: When robotics expert Megan O'Flannery is offered the chance to direct MindSim's cutting-edge program to develop a self-aware android, it's the opportunity of a lifetime. But the project is trouble plagued--the third prototype \"killed\" itself, and the RS-4\u2026","rel":"","context":"In &quot;Signal Boost&quot;","block_context":{"text":"Signal Boost","link":"https:\/\/harperkingsley.net\/blog\/category\/signal-boost\/"},"img":{"alt_text":"The Phoenix Code, by Catherine Asaro","src":"https:\/\/i0.wp.com\/www.harperkingsley.net\/blog\/wp-content\/uploads\/2013\/11\/PhoenixCode_Asaro-183x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7059,"url":"https:\/\/harperkingsley.net\/blog\/advent-day-1\/","url_meta":{"origin":5523,"position":4},"title":"Advent Day 1","author":"Harper Kingsley","date":"December 13, 2025","format":false,"excerpt":"Advent calendar day 1: https:\/\/www.patreon.com\/posts\/145755450 My advent posts, like my 12 Days of Xmas posts, are free posts. For my 12 day advent calendar, the posts will go live at noon each day (December 13-24). Then I'll share the links here sometime during those days. Love you!","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3129,"url":"https:\/\/harperkingsley.net\/blog\/xkcd-explains-the-heartbleed-bug\/","url_meta":{"origin":5523,"position":5},"title":"XKCD explains the Heartbleed bug","author":"Harper Kingsley","date":"April 11, 2014","format":false,"excerpt":"Source link: http:\/\/xkcd.com\/1354\/ Other links to Heartbleed info: Heartbleed Bug - the site themselves: http:\/\/heartbleed.com\/ Lifehacker - \"What the Heartbleed Security Bug Means for You\": http:\/\/lifehacker.com\/what-the-heartbleed-security-bug-means-for-you-1560801201 Mashable - \"The Heartbleed Hit List: Passwords you need to change right now\": http:\/\/mashable.com\/2014\/04\/09\/heartbleed-bug-websites-affected\/ CNET - \"How to protect yourself from the Heartbleed bug\":\u2026","rel":"","context":"In &quot;Signal Boost&quot;","block_context":{"text":"Signal Boost","link":"https:\/\/harperkingsley.net\/blog\/category\/signal-boost\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/posts\/5523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/comments?post=5523"}],"version-history":[{"count":0,"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/posts\/5523\/revisions"}],"wp:attachment":[{"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/media?parent=5523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/categories?post=5523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harperkingsley.net\/blog\/wp-json\/wp\/v2\/tags?post=5523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}