The author of the article: Evgeny Kostyrev,
web programmer at SEO.RU
Meta tags are special tags in the HTML hypertext markup language that are located in thecontainer and are intended to convey information to search engines and browsers. Here’s what they look like in search results:
The most important meta tags for a website are:
- Title – it displays the title of the page in the browser window and in the search results.
- Description – this tag displays a short description of the page in the search results.
- Keywords – the tag contains a set of keywords of the page that are relevant to the content (users do not see it, it is filled in exclusively for search engine robots).
Let’s make a reservation right away that the methods described below work in ideal conditions, when no one has previously made edits to the kernel code and project modules. In this case, the approach to adding meta tags can change dramatically.
Meta tags can be written manually, statically, for each page separately. This is the programmer’s initial approach to page optimization.
This method is suitable when you have a landing page or a site that does not have very many pages. But what if you have an online store or blog with 100 or more pages? It is no longer so easy to register manually, because the site is expanding and there are more files.
The CMS developers took this into account, and each team presented their vision of how to automate the addition of meta tags. Someone did it well and the interface in the admin panel is intuitive, but somewhere you have to study the admin panel for a long time to understand where to register what.
Let’s consider 3 main CMS that remain the most popular and are most often found in my work: WordPress, 1C-Bitrix and Joomla.
Out of the box, WordPress does not provide the ability to write the necessary meta tags, so plugins are used for this. The most famous of them are Yoast SEO and All in One SEO Pack. Let’s analyze them.
It is a free plugin that provides many webmaster tools. It is easy to use, but for confident use it is better to read about it or watch a couple of videos on YouTube.
So how do you apply Yoast SEO to your meta tags? At the bottom of the page for adding material in the admin panel, you will see a small block called Yoast SEO… This is exactly what you need to use. Conveniently, the plugin immediately shows how your snippet looks in the search results and analyzes the page for SEO:
You can also use ready-made variables:
And create masks for different types of content (pages, product cards, posts):
All in One SEO Pack
In this plugin, the location of the block with the meta tags is the same as in the previous plugin, and they look almost the same:
The plugin can also create masks for different post types. This is done in the settings of the plugin itself in this block:
Full information on the macros that are used in the plugin is in it itself: just hover the mouse cursor over the question mark, and a complete list with a description of all macros will be displayed there.
Bitrix has an out-of-the-box SEO module, so you don’t need to install anything extra. You just need to open the page you need in the admin panel and go to the SEO tab. There will be full access to the page meta tags:
Bitrix also has its own macros that facilitate the development of masks, for example, when a lot of products are placed on the site:
In order for all the elements of the section to accept the mask that you specified, you need to find the item in the section settings “Settings for items” and there already register what you need:
Joomla, like Bitrix, has its own SEO module out of the box, but it is implemented differently. Let’s assume that you already have an article page and you need to add meta tags to it. To do this, you first need to create an item in the menu:
Then in the section “Page settings”, in the window “Browser Page Title” register Title:
And in the section “Metadata” specify Description and Keywords:
Joomla, unfortunately, cannot create masks. To do this, you need to manually write a plugin or search from the available ones.
As you can see, using the built-in options of modern CMS, adding and editing important meta tags for SEO is clear and simple.