1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Editing Meta Tags Cloud

Discussion in 'Design & Development' started by Mohammed Khamiss, Mar 3, 2012.

  1. Mohammed Khamiss

    Mohammed Khamiss
    Expand Collapse
    Junior Member

    Joined:
    Feb 1, 2012
    Messages:
    27
    Likes Received:
    2
    how can i change the meta tags in my wordpress site in order to affect google better
     
  2. yannick

    yannick
    Expand Collapse
    Junior Member

    Joined:
    Mar 1, 2012
    Messages:
    11
    Likes Received:
    5
    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:
    HTML:
    <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.
     
    Mohammed Khamiss likes this.
  3. Mohammed Khamiss

    Mohammed Khamiss
    Expand Collapse
    Junior Member

    Joined:
    Feb 1, 2012
    Messages:
    27
    Likes Received:
    2
    thank you very much that was helpful
     

Share This Page