SEO Tips

Keeping Your Code Clean For SEO

In search engine optimization, your content to code ratio needs to be about rite. You should always make sure that you have more content than you do code. Lot’s of un-neccessary code will make your page take longer to open and be harder for the search engine spiders to index and understand. Therefore you will loose valuable spaces in there rankings.

Making sure your code validates is also essential. If you have really good content, but the spiders fail to index it because it can’t understand your code, then it is a complete waste of good content for SEO purposes. If your code doesn’t validate then you have already started fighting a loosing battle. Google will respect your website if you keep your code clean and valid, sticking to there webmaster guidelines.

The webmaster guidelines from Google are definately an essential read. They describe exactly how they want your site to be. If you stick to all this criteria then you have a good chance they will rank you well because of this. The way I see it is that if you put in the time to stick to there rules, they will record you accordingly… it’s just like being back in school.

If you really want to optimize your site they even published there own SEO guide for you too read. Make sure you read there own advice if you want to perform in there search engine. Kind of makes sense really.

A good way of stripping out not needed bits of code is to locate them in an external file. You can do this by moving all inline css within the document to an external css file. You could also do the same with JavaScript. However make sure you don’t do this with the Google Ads as they don’t like you tampering with there code and you may get banned as a result… look it up.

Comments are closed.