This solution will make your template hard to read ,not good for SEO (as SEO expert said) because we included all scripts in template file . But hosting scripts in blogger will increase the loading speed ,and it work 100% ,don't need to worry about downtime .
How to do ?
1,If you are using a template from SimplexDesign ,open template in a word editor such as notepad ,wordpad ,notepad ++ ...
2,Make a search for this term <script ,it will show you all the place where scripts are embedded to your template .
Take a closer look ,if the script is hosted in another host , you will see something like this :
<script src='http://hosting....../xxxx.js' type='text/javascript'/>The src attribute in <script statement above indicate the URL of javascript file .
Copy this URL http://hosting....../xxxx.js and paste it in browser window
It will show you the content of js file as picture above ,or a dialog which asking for download js file .
If you download the js file ,open it in a word editor
3,Insert the script in js file into blogger template by using this structure :
<script type='text/javascript'>After inserting the script to blogger directly ,delete the line
//<![CDATA[
insert content of js file here
............
//]]>
</script>
<script src='http://hosting....../xxxx.js' type='text/javascript'/>that we found in step 2 .
Do this for the rest .
4,Save template and upload it to blogger .
That's all .
I hope with this tip ,we can forget the problem with free javascript hosting . Yes,if you have a hosting ,you can host js file in your host ,it better for SEO .
0 comments:
Post a Comment