I am sure that all blog owners wants to receive new traffic to their blogs. in support of this, SEO is very valuable and central. Earlier we discussed some methods of search engine optimization such as automatic image seo, outer (external ) link seo and making links nofollow. Right now, its clock to modify your shape pro better SEO. It has been proved to adding proper Meta Tags help a group trendy better search engine optimization so at this juncture we are ready to add mainly fashionable (popular) meta tag "description" trendy blogger / blogspot. Mainly of the Bloggers are already using this meta tag trendy their templates, if you are not individual of them, follow these tips.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<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>
How to Automatically Search Engine Optimization for Images
- Log Blogger Go to Dashboard > Design > Edit HTML (else move to next step)
- Now, search for </body> code in your template (tip: press CTRL + F and paste this code)
- Paste below given code in red colour just Before </body>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<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>
- Save Your Template
- Thats it...
No comments:
Post a Comment