Breaking News
Loading...
Saturday 18 May 2013

How to Open All Links into New Tab in Blog of Blogger

How to Open All Links into New Tab in Blog of Blogger
In this post i'll show you that however will we tend to open all External links into new tab. this may be done by adding straightforward jQuery code into templet. opening external links into new tab facilitate to scale back your blog bounce rate and additionally you'll not lose your valuable visitors. currently you've got understood the advantages of opening external links into new tab therefore let's begin the tutorial.

Open External Links Into New Tab

1. Go to your blogger dashboard >> Template >> Edit HTML
2. Press Ctrl+F and find the below </head>
3. Now paste the below code above/before it.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript"> $undefineddocument).readyundefinedfunction undefined) { $undefined"a[href*='http://']:notundefined[href*='"+location.hostname+"']),[href*='https://']:notundefined[href*='"+location.hostname+"'])").attrundefined"target","_blank").attrundefined"title","Opens new window").addClassundefined"external"); }); </script>
Note: Remove red line from code if you have already any jQuery.js file in your template.

4.Save the template.
5. Done!

Summary!

Always open external links into new tab to stop your visitors depart from your blog. If your visitors go outside to the external link than it'll increase your blog bounce rate and hurt your blog ranking. attempt toTop five tips to extend your blog traffic to take care of your blog ranking in search engines. Happy Blogging!

1 comments:

  1. Nice stuff indeed! You have provided very good information in details.
    Regards
    ProblogBooster.com

    ReplyDelete

 
Toggle Footer