How to Force Blogger External Links to New Window in 2025
Force Blogger External Links to New Window: Links are the lifeline of your blog which helping your users to navigate and discover more information. Whether they are internal links leading to your previous posts or external links directing your users to other websites, it’s very crucial to manage them effectively. Internal links can enhance user engagement, increase page views and reduce bounce rates that benefiting both your readers and your SEO efforts.
However, when it comes to external links, your primary concern should be providing the best user experience.
Why Open External Links in a New Window/Tab?
One common practice that enhances user experience is making external links to open in a new window or tab. This approach allows your users to explore additional content without leaving your blog entirely. In this blog guide of technohadayat, we will show you how to force all your external links in your Blogger blog to open in a new window or tab.
By default, Blogger opens all links, whether internal or external, in the same browser window or tab. While this may suffice for internal links, it can be less user-friendly when dealing with external sources. Here’s why forcing external links to open in a new window or tab is a good idea:
- Improved User Experience: your Users can access external content without leaving your blog entirely and enhancing their overall experience.
- Retain Blog Visitors: When external links open in a new tab, your blog remains accessible in the original tab. your Users can easily return to your blog and reducing the risk of losing them to the external website.
Now, let’s explore how to implement this change in your Blogger blog.
How to Make All External Links in Blogger Open in a New Window/Tab
By following these steps, you can ensure that all your external links in your Blogger blog open in a new window or tab consistently. This saves you the trouble of manually setting the link target for each post.
- Log in to your Blogger dashboard with your gmail credentials and navigate to the “Template” section to explore.
- Click on the option of appeared “Edit HTML” to access and reach on your bloggers blog’s template code.
- Press CTRL + F to open the search function and search for the <head> tag within the template code.
- Just below the <head> tag, paste the following line of code:
<script> $(document).ready(function(){ $('a[href^="http://"]').not('[href*="' + window.location.hostname + '"]').attr('target', '_blank'); $('a[href^="https://"]').not('[href*="' + window.location.hostname + '"]').attr('target', '_blank'); }); </script>
This code uses JavaScript to target all external links (those starting with “http://” or “https://”) and assigns them the attribute target=”_blank” to open in a new window or tab.
- Once you have pasted the code, click the “Save” button to update your template.
That’s it! You have now configured your Blogger blog to open all external links in a new window or tab automatically.
Conclusion
Enhancing the user experience on your Blogger blog is very crucial for retaining visitors and providing valuable content. By forcing external links to open in a new window or tab, you ensure your readers which can explore additional resources without leaving your blog entirely.
Implementing this feature with the provided JavaScript code streamlines the process, eliminating the need to set the link target manually for each post. This small but effective change can make a significant difference in how users engage with your blog.
In conclusion, prioritize your readers’ experience by making external links open in new tabs and keep them engaged with your valuable content. By following these steps outlined above, you can ensure a smoother and more user-friendly browsing experience for your Blogger blog’s visitors.
You May Also Join Us On:
- You can Join Our Facebook Page for Daily Updates:
- Follow Us on Google News to get Daily Updates:
- Follow Us on Instagram for daily Updates:
- Follow Us on Pinterest to get daily Updates:
- Join Us on Twitter to get daily Updates:
You may also like:






