The Absolute Beginners Guide to Joomla's Metadata
- Written by Alex Smirnov Alex Smirnov
- Category: Joomla How To Joomla How To
- Published: 09 March 2018 09 March 2018
In "The Absolute Beginners Guide to Joomla's Aliases" you learned how Joomla's URLs are actually set up in your Joomla site.
In this tutorial, you will learn how to control what appears in Google search results when people find your site.
By default, Google tends to show three things about your site.
- It shows the URL. You learned about Joomla's SEF URLs and about how to troubleshoot them earlier in our blog.
- It also shows the title.
- It also shows the description. This is normally a couple of lines underneath the title and the URL.
These are known as the meta title and the meta description as well. The reason they have a different name is that because they are normally hidden in the code of your website.
You are unlikely ever look at your site and see the meta title and meta description unless you see them at the browser bar at the top of your site when sometimes your site title is used.
What you are going to do is to see how you can get control over the title and over the description as well. One quick note before you begin. Google has a mind of its own.
You can suggest the Google what the title is going to be, and what the description is going to be. But Google does reserve the right to change both of them if it thinks other information about your site will be more useful to people doing a search.
By default, there is only really one option that you can change about the title on a Joomla site. That is done from System and Global Configuration. Earlier in this blog, you went to the SEO settings on the right-hand side and changed the Search Engine Friendly URLs.
In this lesson, you are going to go a little bit dipper into the settings. You are going to take a look at the Site Name in Page Titles setting.
What this would do is it puts your site name either before or after the main title of your content. The site name is chosen on the left-hand side on the Global Configuration, under the Site tab.
On this particular site, the site name is OSTraining. You have a choice of not including it, or putting it after your title, or before your title.
My recommendation is that you consider adding your site name if you think you have the name people will recognize.
For example, if your company's name is Apple Computers or Microsoft, then there is a good chance that people will see your name in search results and they will be more likely to click on it. Or even if you just have customers who are returning to your site.
If they bought something from you before and they see your name in the search results, then they will most likely click on it.
If you chose the After option, then you will have the name of the article, and then you will have the OSTraining site name or whatever your site name is afterwards.
That is what is going to be suggested to Google for your search results. Fairly obviously, if you change the After option to Before, then the order of that page title will change. Your site name will come first and the title of your article will come second.
Unless you change the name of the article on your page, that is about all you can get for control of your page title with Joomla by default.
However, there is also an ability to control the description, to control the two lines of text that Google shows on the search results. You can control the description from inside the article.
If you wanted to describe this Getting Started article, what you would do is go to the admin area of you site > Content > Article Manager. You would edit your Getting Started article.
The metadata is found under the Publishing tab. If you click the Publishing, there will be the Meta Description option on the right-hand side.
You are looking at about 350 characters. I will type into this field: "This is the description that will appear in Google search results. I have about 150 characters to describe this content."
Once you clicked Save or Save & Close, you will see this new description of the Getting Started article in its HTML source code.
There are some other metadata items underneath but to be honest, you are unlikely to use those and they certainly won't appear in Google's search results. The Meta Description is the most important setting here.
One thing to empathize is that although the Meta Keywords option is included, you probably won't need to use it. Keywords used to be spammed by almost everyone building their site. In conclusion, what you have seen in these first few steps is what Joomla provides you by default.
My recommendation is that if you need a real control of your metadata and what appears in search results, you need an extension. In the next blog post, we are going to recommend an extension that will give you more control over both the title and the description.
- The Complete Guide to Joomla Search Engine Friendly URLs
- How to Troubleshoot Joomla SEF URLs
- The Absolute Beginners Guide to Joomla's Aliases
- "Preconfigured htaccess" from Joomla Documentation
- Joomla Hosting Recommended by the OSTraining Team
Would you like to learn more about how to create great websites with Joomla? Join the Joomlashack Everything Club and instantly download the "Joomla 3 Explained" bestselling book by Steve Burge.