How to add keywords without plugins in WordPress FREE

4 months ago -

How to add keywords without plugins in WordPress FREE

One of the most important steps in SEO is optimizing keywords. When a person looks for something in the search engine, s/he is most likely to use keywords. We already know, “GOOGLE uses a list of algorithms to sort billions of webpages and websites to find & display the relevant, better results to the users.” The webpages which containing similar keywords used in the search query are the most basic signal of relevance. That’s why Google looks for the keywords in the URL, title, headings, image alt text, meta description, and body of the text. Because this is only the factor Google system uses for ranking. That means, adding keywords to your website is one of the important steps to make your website articles and blogs SEO friendly.

“GOOGLE use a list of algorithms to sort billions of webpages to find & display the relevant results to the users.”

mysticrubs

This article is very helpful for visitors who are wandering around “how to add keywords in your WordPress website FREE without any plugins”.

What are Keywords?

Keywords are any words or sentences which is essential for your articles and blogs to shows your connection while people query your specific keywords. In terms of search engines, it is a search term that is typed on Google or any search engines where websites and webpages are listed.

Keywords are used by a website owner or SEO professional to optimize a website that is hoping to rank at the top of search engines for specific keywords. Any search engines use their own standard algorithm to determine which pages rank at the top. The modern search engine uses similar keyword value but maintaining that keywords relevance varies. Though it is also a better idea to track the keywords which are on your website.

How to add keywords without plugins in WordPress?

Here is given very simple guide to follow:

Meta Title: This is the title of any web page or post that Google or any search engines show in search results.

An example of a meta title is:

<head><title> This is the title of the page </title></head>

If a person found the meta title is exactly what they are looking about, they just click on that title and visit your webpage or website. That is why the meta title should be eye-catchy and enticing to the people to get many clicks.

You can see the meta title of any page like the given example:

Meta Description: This is the description or short summary that is given to give little information about any web page or post that Google or any search engines show in search results. It is no longer important in terms of Google; however, it is essential for users.

An example of meta description is:

<meta name= “description” content= “This is the meta description of a web page or post.” />

You can see the meta description something like the given example:

Meta Keywords: This is a search term that is typed on Google or any search engine where websites and web pages are listed. Most blogger owners or SEO professional uses meta keywords on the meta description so that it gives some benefits for On-Page-SEO.

You can see meta keywords something like this:

  • First login to your WordPress dashboard, and go to Theme Editor inside the Appearance.
  • Click on header.php file, add this following search engine snippet code inside <head> tag.
<meta name= “description” content= “your description here” />

For keywords,

<meta name= “keywords” content= “your keywords here” />

For example;

How to add keywords without plugin in WordPress FREE

Now, chance the content tag with the keywords and descriptions of what you want to make.

However, we recommend using the plugin, because SEO is supported by a dedicated plugin. The excellent SEO plugins are Yoast’s WordPress SEO and Rank Math SEO.

The code for meta description and keywords is given below: you can just copy and paste it into your function.php file.

function add_meta_tags() { 
global $post;
if ( is_single() ) {
$meta = strip_tags( $post->post_content ); 
$meta = strip_shortcodes( $post->post_content ); 
$meta = str_replace( array("\n", "\r", "\t"), ' ', $meta ); 
$meta = substr( $meta, 0, 160 ); 
$keywords = get_the_category( $post->ID ); 
$metakeywords = ''; 
foreach ( $keywords as $keyword ) { 
$metakeywords .= $keyword->cat_name . ", "; 
} 
echo ' 
<meta name="description" content="' . $meta . '" />' . "\n"; 
echo ' 
<meta name="keywords" content="' . $metakeywords . '" />' . "\n"; 
} 
} 
add_action( 'wp_head', 'add_meta_tags' , 2 );

How to add keywords without plugin in WordPress FREE

Once you pasted this given code, you’re done. Now, it automatically fetches the starting 160 characters from the first paragraph of any post or page and shows it as a description. Also, fetches the post and pages to show as meta keywords.

how to add meta tags in WordPress without plugin

About Author

Ruby is an IT Engineer | Blogger | Digital marketer who offers Copywriting, ghostwriting, and blogging services to provide digital marketing content that gains social media attention and increases search engine visibility.

View all post from the Author

Follow @mysticrubs