Loading ...

SEO Smart Links

SEO Smart Links

Learn SEO Blogspot - Ever heard of the smart link SEO plugin? a plugin for wordpress whose function is to change every word that we specify, into a link. Now we can install the plugin too on blogspot.


How does SEO Smart Link work for this blogspot?
This script will read every word on every post. For example, if you enter the word "SEO" in the script, then automatically on all pages contained the word "SEO" will be linked to the url address that you specify.

Does this autolink script violate Google guidelines?
No, as long as the number of links you put in the autolink code is still at a reasonable stage. Skipper recommendation, just one link.

SEO Smart Links
How do you install this autolink code on your blogspot?

1. Login to blogger.com
2. Enter the Template << Edit HTML
3. Use Search With CRTL + F search code </body>
4. Copy All Code Script below and paster above code </body>
 <b:if cond='data:blog.url != data:blog.homepageUrl'><script type='text/javascript'>
function autoLink(){
    this.keywdHref = new Object();
    this.add = function(keyword, href){
        if(keyword.substr(0,1) != &quot; &quot;){keyword = &quot; &quot; + keyword;}
        this.keywdHref[keyword] =  href;
    }
    this.createAnchor = function(){
        var objs = document.getElementsByTagName(&quot;div&quot;);
        for(var i=0; i&lt;objs.length; i++){
            var obj = objs[i];
            if(obj.className.indexOf(&quot;post-body&quot;)&gt;-1){
                var content = obj.innerHTML;
                for(var keyword in this.keywdHref){
                    var href = this.keywdHref[keyword];
                    var newstr = content.replace(keyword, &quot;&lt;a href=&#39;&quot;+href+&quot;&#39;&gt;&quot;+keyword+&quot;&lt;/a&gt;&quot;, &quot;gi&quot;);
                    obj.innerHTML = newstr;
                    content = newstr;
                }
            }
        }
    }
    this.startScript = function(){
        var onLoad = window.onload;
        window.onload = function(){
            if(onLoad){onLoad();}
            setTimeout(&quot;f.createAnchor()&quot;, 100);
        }
    }
}
</script>
<script type='text/javascript'>
var f = new autoLink();
f.add(&quot;SEO&quot;, &quot;http://www.souhalahwal.tn/&quot;);
f.startScript();
</script></b:if>
 
SEO Smart Links 
"Note"
Change SEO (Keyword) and http://www.souhalahwal.tn/ (destination url link) to be your link 
Next Post Previous Post
No Comment
Add Comment
comment url

marfeel