HOW TO

How to Add Keywords and Meta Descriptions in WordPress?

how to add keyword and meta description in wordpress website
Reading Time: 7 minute
Rate this post

Would you like to learn how to add keywords and meta descriptions to your WordPress website? Then you’ve come to the right place.

Today, I’ll teach you how to accomplish it in 2022.

But, before we begin, let us define keywords and meta descriptions.

What exactly are the keywords?

A keyword is a word that best characterizes your page’s or post’s content. It is the search keyword for which you want a certain page to rank. Therefore, when people search for that keyword, they should discover that page on your site.

What exactly is a “meta description”?

Meta” is simply an HTML tag in your HTML file. The meta element explains your website’s content.

Meta tags and descriptions are typically not visible to visitors to your website or post. Search engines, on the other hand, are aware of it.

What exactly is the meta tag’s purpose?

You might wonder, “Why do we utilize the meta description if the user can’t see it?” 

But, do you know the meta tag is frequently used in search engine optimization (SEO)?

To index web pages, search engines such as Google use a robot known as a Web Crawler. Search engines genuinely try to provide the most relevant results for each query.

They use several algorithms to generate high-quality content from vast amounts of data.

According to a 2018 report, a properly sized and appealing Meta Description can result in a 36% click-through rate (CTR) boost. It’s a staggering sum.

The higher your website’s click-through rate, the better your chances of ranking on the first page of Google and any other search engines you use.

Do Keywords and Meta Descriptions improve SEO performance? 

As you may be aware, search engines use algorithms to identify high-quality content from massive amounts of data. However, search engines do not reveal the exact value assigned to keywords or meta descriptions.

Industry experts recommend incorporating a well-written meta description with keywords on your website’s pages, including the homepage, category pages, and tag pages.

So, let us continue. Also, look at how to add meta keywords and descriptions properly.

Today, I’ll show you two ways to include meta keywords and meta descriptions in your website.

  1. How to Add Meta Keywords and Description Using Plugin in WordPress
  2. How to Add Meta Keywords and Description Manually.

Add Meta Description and Keywords Using a Plugin.

There are many different plugins that can accomplish the same goal.

Example:

 1. All In One SEO Plugin (AIOSEO)

In 2007, the development of the AIOSEO plugin for WordPress began. At this time, it has more than 3 million people that are actively using it.

pRGJC7jQ30O2ssXk4ZI G2KM9E8GgZqgkFCTcXLikd0iL1uO67yzU5rvJNRUX O0JtDycC

2. Yoast SEO

Since 2008, Yoast SEO has been instrumental in improving the search engine rankings of millions of websites all around the world.

KAjAcRCDa2q9P8aT eysiggwjDxQtSqFgOH2 yCgNxIeLbVjuUVzM8 Edvstm3uwyrTUSi 0ZMyui77Ezc2aFjCVbPCN3V3MXpl74BZh8gQEkub yJuqT27fNXp SMjCelppCkGyqpITmU 0PniEOg

3. Rank Math SEO

Rank Math SEO is also used by millions of people around the world. 

It Uses Artificial Intelligence to write SEO-optimized content.

QuaTxZ4GkNP2JVGHwm8GfkQte0wOkt40 ux14lbBlrHfrwfDqIk8I7MRhx4AxcnnR4RtxTPFfPMdB 0T7SUfyajG5iDgEL12aZlPH0oQlNeiXNlswsKUQuFxcPum46hiryLFn

You may probably imagine that there are a great many tools at your disposal. However, in today’s lesson, I’ll walk you through the process of adding meta tags and descriptions with the help of the All in One SEO Plugin.

Because It comes with so many sets of useful tools that will help optimize your entire WordPress site to grow your business like a charm.

How to use All in one SEO in WordPress

You will first need to install it before you can begin using it.

Go to https://aioseo.com/ and make an account for yourself. Once this is done, they will provide you license key, and you will be able to download the plugin.

Installation and activation process

Go to your WordPress plugin section and click on add new. Then upload the plugin that you downloaded previously. When the upload finishes, click the “Active now” button to activate the plugin.

After activating the plugin, a new option called All-in-one SEO is added to the menu.

After selecting this option, paste your license key into the corresponding box and click the Connect button. 

TFWNwUj5VH 2Z smClwf p39GWLi rsJqNmqdOhDWXFvm8F6xV Dme94XPJSZ2YiCKqD91zQspPlboEmyVWe6IUckI7hoQlxkqjuEEivC4gt9jgkFr8J4SSN6 h7LSpHfanbWTn9G21BHmWV6rr7zI4

Your AIOSEO account will be linked to your plugin after you do this.

During activation, it will take you through a simple wizard setup. Just follow it step by step and get everything set up.

After you have done the setup, all left to do is click the option “Finish Setup and Go to the Dashboard.” It will take you to the main dashboard.

6MMaeyo4jMNHOpX8Ltj59NBE2naNcaaHKZnj8L64TGfCtPH6YqVs HFa3IXEzpMZt5eNpldY7jZWiNKRDAMiaQz5Tsc80IWG0RZSPM0VgyyyuSp5FCNlv1W9fhsL8piRCzcMQPXyg1G2eTOVF rEFTc

How to Enable Meta Keywords Support in All in One SEO

AIOSEO has built-in support for meta descriptions and keywords. But the feature will be turned off by default. You have to turn it on manually. 

To enable it,  navigate to All in One SEO » Search Appearance » Advanced in order to turn it on. The next step is to change the setting of the meta keywords toggle from “No” to “Yes.”

After enabling it, you will see some more additional options where you can generate a post’s keywords from its categories and/or tags. You can also dynamically generate keywords for use in your blog posts and archive pages.

If you want to automate your option, you can do that. But you will always be able to define keywords for each post and page manually. It’s totally up to you. Do you want to automate the system or not. 

It’s better not to forget to click on the ‘Save Changes’ button at the bottom of the page after making those changes.

Adding WordPress meta description and keywords 

To begin, you will need to modify the page or post on which you intend to include either your meta description or your meta keywords.

AIOSEO will work both on WordPress classic editor or WordPress block editor (Gutenberg)

When you are on the screen for the content editor, scroll to the bottom to discover the “AIOSEO Menu” option. You can add your meta description from here. 

Alternately, you can open the menu by clicking on the tiny symbol of the AIOSEO at the top of the right corner.

Now Go to the Meta Description field and add a brief description. You’ll be able to see how many characters you’ve used with All in One SEO. This is essential because Google only shows 160 characters in the search results.

You will see your site’s title and an automated generated description as the snippet. 

NWYsSPHbCDCnFgtfU inn lDUSM3j tniKBg2Z1NwO8W1PI86ei82WeRpzH8sjcbJxzE6 SuXlfloFhDsGX67KfVvRxqHlo9mDcQlFNGLnsRjkxHayhQi0GcfPdusUoGxfYSpbd0NfaFOvnI ETuHCs

Moreover, when you type your meta description, the sample preview will be instantly updated.

When you’re done, save or publish your content to save the modifications to your meta description.

Use Dynamic Tags in your Meta Description

You can add dynamic meta descriptions and tags with the help of the All In One SEO Plugin. For example, here, we’ve added the author’s name to our meta description.

To add tags, simply type # into the meta description box. After that, a list of tags that are available will appear in a dropdown menu. Just click on the one you prefer. 

veER66BjQ4oBUK4S4La1hUMfL5eWjcbe1GJzwiF9nbDEOOwrTxWLS1t4Fo xWEhn6P6lXa2v f GJ4G7JLLXMN3UBYwXxxwcZ95C3aNTef2DvvCet 0 HW

How to add Meta Keywords to Your Post or Page Using AIOSEO

To add meta keywords, you will have to click on the Advanced tab on your AIOSEO settings. 

Simply type your keywords and hit Enter after each one. 

How to add Meta Keywords and Meta Description on the Homepage

It’s also possible to add meta descriptions to your website’s homepage this way.

Step one is to navigate the Search Appearance » Global Settings section of your WordPress administrative dashboard. Next, navigate your way down until you reach the area labelled “Home Page.”

kZE1614SQCAR6

Here you can add meta descriptions the way you would for a post or page. 

All in One SEO plugins will default use your tagline as your meta description. But you can change it.

You can play around with this plugin to learn more.

Add Meta Keywords and Description Manually. 

It’s a little bit hard to add meta descriptions and keywords manually. But you can do it by following these steps.

Go to wp-content/themes folder, and browse the theme folder which is currently being used. then Find and open the file named functions.php

Now add the following code to the functions.php file.

function gretathemes_meta_description() {

    global $post;

    if ( is_singular() ) {

        $des_post = strip_tags( $post->post_content );

        $des_post = strip_shortcodes( $post->post_content );

        $des_post = str_replace( array(“\n”, “\r”, “\t”), ‘ ‘, $des_post );

        $des_post = mb_substr( $des_post, 0, 300, ‘utf8’ );

        echo ‘<meta name=”description” content=”‘ . $des_post . ‘” />’ . “\n”;

    }

    if ( is_home() ) {

        echo ‘<meta name=”description” content=”‘ . get_bloginfo( “description” ) . ‘” />’ . “\n”;

    }

    if ( is_category() ) {

        $des_cat = strip_tags(category_description());

        echo ‘<meta name=”description” content=”‘ . $des_cat . ‘” />’ . “\n”;

    }

}

add_action( ‘wp_head’, ‘gretathemes_meta_description’);

Now update your meta informations inside of gretathemes_meta_tags() function.

for example:

function gretathemes_meta_tags() {

    echo ‘<meta name=”meta_name” content=”meta_value” />’;

}

Now save your file, and that’s it! 

But as you can see, it isn’t very easy. That’s why we recommend using a plugin to do this.

FAQ

Will AIOSEO make my website slower to load?

Nope, AIOSEO will NOT slow down your website. AIOSEO is properly optimized for maximum performance.

Can I use AIOSEO on my clients’ websites?

The answer is yes. AIOSEO can be used on customer websites.

Are AIOSEO sitemaps superior than WordPress’s default sitemaps?

Yes, the AIOSEO smart sitemaps are significantly more optimized than the sitemaps that come standard with WordPress. As soon as you enable AIOSEO, our XML sitemaps will take precedence over the sitemaps that come standard with WordPress, allowing you to raise your SEO ranks.

Is AIOSEO free?

There is a free version of All in One SEO available. However, in order to get the most out of it, we like to use the paid version.

Conclusion

I hope now you are familiar with what meta tags are and how they should be used. For a website to have effective search engine optimization, meta tags are required.

Therefore, you should immediately begin utilizing meta tags and descriptions on your website if you haven’t already done so.

And i hope this guide will help you a lot. if you have any problem, let us know in the comment section,

Thanks.

Leave a Reply

Your email address will not be published.