MainHeading

Blog-powered website design

MainHeading header image 2

Adding A Meta Keyword Tag

January 20th, 2008 by Lori Cole

Use HTML To Add Site Keywords

The meta tags are stored within the head of the header.php template file in the Wordpress theme. Use HTML to add the keyword meta tag below the <title> tag which resembles:

<title/><?php bloginfo(‘name’);} ?></title>

and use this format:

<html>

<head>

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

</head>

</html>

For example:

<meta name=”keywords” content=”blog-powered web design, wordpress, web accessibility, search engine optimization, web usability, css design, web standards, xhtml, html, css, php, mysql, user-interface (GUI) design, graphics, lori cole” />

These keywords are representative of some of the categories established for the intended posts of this site. The keywords are listed in order of importance. The length of the meta keyword tag can be large.

Meta tags contain information that describes your site’s purpose, description, and keywords used within your site. Meta tags are hidden in a document’s source unlike the description or tagline that is created under the Admin>Options>General panel which many themes place in the header below the title of the blog. By default, descriptions and keywords are not included in Wordpress because they are site and even page specific but you can manually include them. A meta keyword tag lists all the keywords for which you would like search engines to rank your site. Not all search engines support this tag, but the W3C recommends keywords are provided in the header because some indexing engines look for meta elements that give a short description of the site. Tag plugins exist to add page specific keywords rather than a generic keyword tag but they do require management and add to the size of the site.

Tags: Client Side Coding · HTML