Keeping your Joomla code tidy
Too much meta info
Open up your website, right click, and view your source code. Look for the “meta name” lines.
meta name="keywords" content="keyword, another keyword, more keywords"
meta name="description" content="This is your meta description field. It will be made up of 156 or less characters and will be what you see in Google search results so make it perfect."
These are the most important meta tags you can have on your site. They must be different for every page on your site, they must not include your site name, and they need to be skillfully written to include keywords representing what your single webpage is about. If you use the same meta description for every single page, Google might not rank you properly or can potentially penalize you. Proper SEO is a whole other topic we will talk about in the future. If you want some quick tips and solutions for SEO in your Joomla site, try out our SEO extension. Now, let’s get back to meta tags.
Joomla loves adding additional meta information. Every single Joomla install you do will have this tag automatically added to your site.
meta name="generator" content="Joomla! 1.5 - Open Source Content Management"
This is a largely useless tag, used mostly to advertise Joomla. You can remove it by using a plugin or by adding a small bit of code to your site. You can read about how do do that in this blog post.
There are about a million different meta tags you can use in a website. Make sure to use only the ones you absolutely need, and if you aren’t using one, take it out. Do you want an easy way to edit all your Joomla meta tags at once? Try our extension.
Keeping your < head > clear
Too much bling
When building a website it is easy to get caught up in fancy sliders and widgets and tabs and lightboxes and flippy things. They look pretty, and in many cases help display content on your site. The down side is code bloat. Look at this example:
What is wrong here?
What else is wrong?
Do you have any tips or pet peeves?
These are some of my pet peeves for a clean Joomla site. What do you do to keep your site clean, fast and efficient?