Yesterday i read an interesting articles about SEO or Search Engine Optimation, they explain a lot of thing that i’ve never thought it could influence our page rank. Like this one we should move javascript code to external pages. At our blogs maybe there are a lot of excess code, like sponsor code or something simillar.
We Should move that code (specifically the JavaScript code) to an external file. In other words, we want to make our pages smaller in size, thus putting more focus on the actual content on those web pages.
Since i use wordpress , it makes me easier to move all the javascript code from my template, i am using Adsense Manager Plugin this plugin can control and arrange our adSense code or any script code , so i copied the script , creating new ads , paste the code, save and give name for the code. Then i put the code at my template and call it using simple line <?php adsensem_ad('name'); ?> .
For other platform or maybe for static html pages we can copy the code and save it in a text file named something.js ( don’t forget to get rid the code from our html page and “call the file” instead). Then upload the something.js file to our server. In the html page where the javaScript used to be, we need to call the file. We can do it just like this:
<script language=”javascript” type=”text/javascript” src=”/javascript/something.js”></script>
That is the code for “calling” JavaScript file named something.js in a folder called javascript. Now our page is cleaner and make it smaller in size that can make our site load faster now. Beacuse the search engine only matters to our content.
Some Facts About Articles Marketing
|
|
|
|
|
| 
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
6 Responses
Leave a Reply
Great Post
Thanks n welcome here, you can subscribe to my newsletter if you are interested
revenues last blog post..Do We Need A Good Business Plan ?
I think that’s all a bunch of bull from an SEO perspective. It sounds good but in reality it makes very little difference. Our sit was first created using Microsoft’s Office Live for small businesses.
That code was so bloated and you did not have access to adjust the code. Yet, that site ranked #1 across multiple keyword phrases. While bloated code my look bad it has very little impact on SEO. The people who say it does generally are coders with little knowledge of SEO.
Geris last blog post..The 109 Day Link Building Explosion – Day 24
I think for wordpress blogs it’s fine, but in Blogger blogs, you cannot upload the file to the same domain, so linking the file to some external server means first downloading the file and them implementation of the script, that may prolong the loading time….isn’t it?
Hmm…. My Blog is to many javascripts, maybe this is the one why my blog is so slowly.
Thanks for the Info…
vanudins last blog post..How To Create Adsense Ads Section Targeting
so if you have too many Javascripts running is this likely to slow down the speed that your blog runs at?