To add meta tags to your site, 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:
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title />
Below this line you can add your meta tags. You can add meta tag information such as the content, language, author, contact, and copyright, since these are basically the same on every page of your site.
But what about the ‘dynamic’ types of information such as description and keywords? 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.
What you need is something to dynamically add keywords and descriptions on a per-post basis. To add a description, keywords, and other meta tags that are unique to each post or Page generated, you have two choices: you can add them as generic references or you can use plugins







Related Articles
No user responded in this post
Leave A Reply