The Best Meta Tag Configuration Guide

The Best Meta Tag Configuration Guide

Search engine optimization, often referred to as SEO, is a key for better ranking. Even though the meta tags have no direct effect on the ranking, they do appear in search results and impact on how people see your website.

We all know that every search engine ranks websites with the highest relevance and popularity. How do they know which website is popular? They count the number of times people click on the search result. More the website gets clicked, higher the rank will be for the next user.

Not only meta tags help you appear better on Google, Bing, DuckDuckGo, etc. but also on social media. With that said, lets begin.

<!--General optimization-->
<meta name="robots" content="index, follow" />
<meta name="description" content="The text that nicely describes what your page is about. This will be shown in the search results. Do not mislead or use generic descriptions for every page." />
<meta name="keywords" content="keywords here, separated with commas, like, this, your topic, related keyword one, two, third keyword, keep in mind that keywords are not as useful nowadays for SEO because most of the engines do not read these anymore">

<!--Facebook optimization-->
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Title of the page" />
<meta property="og:description" content="The text that nicely describes what your page is about. This will be shown in the social media link snippets. Do not mislead or use generic descriptions for every page." />
<meta property="og:url" content="https://yourwebsite.com/url-of-the-post/" />
<meta property="og:site_name" content="Your Website" />
<meta property="og:image" content="https://image.com/snippet-image.png" />

<meta property="article:publisher" content="https://www.facebook.com/yourpage" />
<meta property="article:author" content="https://www.facebook.com/theauthor" />
<meta property="article:published_time" content="2020-01-20T20:10:00+00:00" />
<meta property="article:modified_time" content="2020-05-21T15:18:34+00:00" />

<!--Twitter optimization-->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your website title">
<meta name="twitter:image" content="https://image.com/snippet-image.png" />
<meta name="twitter:creator" content="@author" />
<meta name="twitter:site" content="@website" />
<meta name="twitter:description" content="The text that nicely describes what your page is about. This will be shown in the social media link snippets. Do not mislead or use generic descriptions for every page.">

Keep in mind that not all of those are must-use tags. If you do not use Twitter, you are not obligated to create one just to write the author handle, so just ignore twitter:creator and twitter:site. For Facebook you can ignore article:publisher and article:author tags.

These are the most widely used meta tag practices. Feel free to copy/paste on your website source code and modify as needed.

TIPS: Try to use the most used words in the title and description fields. There is a very little chance that someone would search this page using the following term – “A nonpareil meta tag disposition enchiridion”. Yes, those are the real words, but who would even understand them? Respect to those who know the words like that.

Thank you for reading this article about how to configure meta tags for your website. Did you like it? Let us know that by sharing!