Home > DeveloperSection > Articles > Meta Tags in WordPress

Meta Tags in WordPress


WordPress WordPress 
Ratings:
0 Comment(s)
 5021  View(s)
Rate this:

Meta Tags in WordPress

As a search engine crawl your site, it gathers information from the title, headings, content, and Meta Tags such as description or keywords. It compares the words within each of these sections and ranks the site dependent upon how well the information matches.  

It is important for website developers to understand that a default installation of WordPress does not contain the Meta tag data. Meta tags can be added manually, through changes to the custom theme template files or through WordPress plugins.

Meta tags list information about the web page, such as the author, keywords, description, type of document, copyright, and other core information related to pages or posts of website.

How to use Meta Tag in WordPress Website?

To add Meta tags to your WordPress website, simply add them to the header.php template file in your WordPress theme, specifically in the head section near the link for the style sheet. At the top you will see the DOCTYPE tag and below that you will see a couple more tags and then the <title> tag, looking something like this:

Meta Tags in WordPress

You can add Meta tag information such as the content, Description, language, author, contact, keyword and copyright, since these are basically the same on every page of your site. This information is unique to every web page on your site. Putting them in the header.php means the information won't change throughout your site.

Generic Meta Tag:

If you have a clear purpose for your website, then you can use that information to create generic Meta tags and place these in your header.

A description Meta tag that would describe all of her posts might be:

Meta Tags in WordPress

This is the manual style of adding a description, but WordPress can make this easier for you. Add your description, similar to above, in your Administrator Dashboard - > Appearance -> Editor. The description is entered in the line designated as Tagline. Then paste in the following in your head area.

Meta Tags in WordPress

Now click on ‘Update’ button then following output will be visible.

Meta Tags in WordPress

You can also use the Meta tag by using plugin. There are several Plugins that allow the blog administrator to set the keywords, description, and other Meta tags to be unique on each post. These plugins make use of the Custom Fields in the write post panel. You can find Meta tag Plugins in the official website of WordPress (www.wordpress.org) or you can make your plugin to perform it.


Don't want to miss updates? Please click the below button!

Follow MindStick