With Due Respect, I Have Seen Many People (With wordpress Blog) Facing Problem with this,As we have many wordpress External Links New tab open scripts or plugin but what about internal links? so just setup This New thread to share how this problem can be solved In 3 Easy Steps.

Follow Simple 3 Steps As Below :-

1.Login To Your Admin Panel.
2.In Header Of Your Page (.php,.html) Do Add Following Code:-

<script language=javascript>

function externalLinks()
{
if (!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName("a");
for (var i=0; i<anchors.length; i++)
{
var anchor = anchors[i];
if(anchor.getAttribute("href"))
anchor.target = "_blank";
}
}
window.onload = externalLinks;

</script>
3.And You Are Done !.

Reply Here below if you have any problem regarding above, Thanks.
Villa Reviewed by Villa on . [Tutorial] Open All Links In New Tab (Internal Or External) In Your Blog With Due Respect, I Have Seen Many People (With wordpress Blog) Facing Problem with this,As we have many wordpress External Links New tab open scripts or plugin but what about internal links? so just setup This New thread to share how this problem can be solved In 3 Easy Steps. Follow Simple 3 Steps As Below :- 1.Login To Your Admin Panel. 2.In Header Of Your Page (.php,.html) Do Add Following Code:- 3.And You Are Done !. Rating: 5