0

As we know search engines are the first means optimized to attract visitors, So I bring this script, as Blogspot is weak in this area, unlike Wordpress and Drupal Many bloggers use the Meta-Tags code.

This script is a mission of strengthening the discussions archived Blogger blog and speed of publication in the search engines and especially the Google search engine.
Code was amended in order to approve new search engines and methods of archiving content in Blogger blogs and the frequency bounce rate (bounce rate) will drop BloggerAnd will drive up the search results for the first echelons searches
Then more visitors.

I explain how this script added to a Blogger blog
  1. First went to Control Panel
  2. And then choose the model
  3. Then choose to edit html


  • We then search the code below  </head>
When I find the code before we add the followiWhen I find the code before we add the following codeng code

<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() {

    // Let's make external links open in a new tab.

    var href = jQuery(this).attr('href');


    if (typeof href != 'undefined' && href != "" && (href.indexOf('http://') != -1 || href.indexOf('https://') != -1) && href.indexOf(window.location.hostname) == -1) {

        jQuery(this).attr("target", "_blank");

    }

});

//]]>

</script>

<script type='text/javascript'>

//<![CDATA[

jQuery('a').each(function() {

    // Let's make external links nofollow.

    var href = jQuery(this).attr('href');


    if (typeof href != 'undefined' && href != "" && (href.indexOf('http://') != -1 || href.indexOf('https://') != -1) && href.indexOf(window.location.hostname) == -1) {

        jQuery(this).attr("rel", "nofollow");

    }

});

//]]>

</script>

<script type='text/javascript'>

//<![CDATA[

$(document).ready(function() {

  $('img').each(function(){

    var $img = $(this);

    var filename = $img.attr('src')

    $img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));

  });

});

//]]>

</script>

<script type='text/javascript'>

//<![CDATA[

$(document).ready(function() {

  $('img').each(function(){

    var $img = $(this);

    var filename = $img.attr('src')

    $img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));

  });

});

//]]>

  • </script>
  • Then we save

Post a Comment

 
Top