How To Make All External Links NoFollow Automatically In Blogger
- Go To Blogger Dashboard –> Template –> Edit HTML
- Backup Your Template Before Making Any Changes
- Now Expand Widget Templates
- Press Ctrl + F and Search The Code Shown Below
- Now Find the code shown below using [ctrl+F]
- Now Paste The Code Shown Below Just above/Before It
- Note – Don’t Add The Line Shown In Red Color If Your Template Already Have That Jquery Plugin
- Now Save Your Blogger Template & Enjoy 🙂
</head>
<script src=’http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js’ type=’text/javascript’/>
<script type=’text/javascript’>
<![CDATA[
jQuery(‘a’).each(function(){var a=jQuery(this).attr(‘href’);if(typeof a!=’undefined’&&a!=””&&(a.indexOf(‘http://’)!=-1||a.indexOf(‘https://’)!=-1)&&a.indexOf(window.location.hostname)==-1){jQuery(this).attr(“rel”,”nofollow”)}});
]]>
</script>
“How To Make All External Links NoFollow Automatically In Blogger.”
