Think of the search engines like a youngster with a short attention span. If they have to crawl through tons of messy code before they get to the body content on your page, there is a chance they will "lose interest" and not continue spidering the page. Since you hope for the engines to be able to spider all of your content pages, you should minimize the amount of extraneous code that is on your page. You worked laborious to create your content and get your site optimized, so the carry on stuff you desire to do is select a chance that the engines won't wish to spider your pages. One course to clean up the code is to grip java script that is on-page and deposit it in an external .js file. Java script on your episode usually takes up anywhere from 3 - 8+ lines of code. That is all just creates extra code that the spiders have to crawl through before they get to your body text. You are more advantageous off calling your java script in from a .js file. This takes what use
d to be many lines of code on your leaf and reduces it to one border where you just call the script in. To create an External JavaScript file: Copy your script and paste it into Notepad. Remove the beginning and end script commands. They are: and Next, do a SAVE AS command and save the case as "text only" with an extension of .js Example: java.js Upload the information to a folder on your server that you reputation Java. (Or whatever honour you wish.) To call your Java string into your web page, enter into the same place where the script originally was: Lastly, if you wish to hide the paragraph from JavaScript impaired browsers to avoid wrongdoing codes, surround the JavaScript with in your java.js file. This will build for cleaner code, and the functionality will still be the same. You could also move your script to the bottom of the sheet - however remember if the folio doesn't fully load then your script may not load, so it could impact the functionality of you
r page. Whatever solution you choose to implement - create confident you analysis it to ensure it works. Once the engines pick up your pages and the traffic to your site increases, you thirst for to be decided the site is fully functional and in tip top shape. Full text: http://computerandtechnologies.com/search-engine-optimization/news_2008-07-02-13-30-04-598.html
Wednesday, July 2, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment