↑ Return to 2. Template optimization

2.3 Code Clean-Up

Page no:

Joost Guidelines

via Joost

All that javascript and CSS you might have in your template files, move that to external javascripts and css files, and keep your templates clean, as they’re not doing your WordPress SEO any good. This makes sure your users can cache those files on first load, and search engines don’t have to download them most of the time.

Realisation on snbchf.com

Our code is good enough. We strictly add only necessary code. We also use Total cache plugin, which can minify the external javascript and css files. Our template doesn’t have any problems with the code.

Realisation on newsfeed site

See more for SEO