how to add h1 and title tags in wordpress

Discussion in 'Search Engine Optimization' started by oblivion19, Sep 10, 2008.

  1. #1
    Hey

    where and how do u add title and h1,h2 tags etc on wordpress sites (self hosted)

    is it in the actual post itself?

    or the stylesheet.css

    here iz my stylesheet part with h1 tags

    now wher do i add my keywords?

    /***************************************************************************/
    /* HTML Tags */
    /***************************************************************************/

    body {
    background:url(images/newbackground.png) repeat top left fixed;
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    margin:0;
    padding:0;
    }

    h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-style: normal;
    font-weight: bold;
    color: #0066cc;
    }

    h1 {
    font-size: 1.4em;
    }
    h2 {
    font-size: 1.2em;
    }
    h3, h4, h5, h6 {
    font-size: 1.0em;
     
    oblivion19, Sep 10, 2008 IP
  2. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Add the keywords and title in the header.php file in between the <head> </head> tags.
     
    glendowney, Sep 10, 2008 IP
  3. TheLeggett

    TheLeggett Peon

    Messages:
    41
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In the "Write Post" area, switch to the "HTML" view (top right of the write post area).

    You can write in HTML manually from this view:

    -------------
    <h1>A header goes here</h1>
    A paragraph goes here.
    -------------

    Alternatively, select the text you want to make a header, and click "Ctrl + 1 (or 2, or 3, etc for H2, H3, etc)" in the Visual Editor.
     
    TheLeggett, Sep 10, 2008 IP
  4. mads

    mads Well-Known Member

    Messages:
    762
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Edit single.php/index.php/page.php. Change the title from whatever to <h1>
     
    mads, Sep 10, 2008 IP
  5. iwilberin5

    iwilberin5 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    are there going to be any bad effects if I changed that all the H1 tag?
     
    iwilberin5, Aug 31, 2010 IP
  6. callmejacque

    callmejacque Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    hi there
    How to add h1 tag on the wordpress without editing the html?
     
    callmejacque, May 22, 2012 IP
  7. Warmplay

    Warmplay Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Well Callmejacque, since this thread is from 4 years back, many have changed.

    Nowdays, each title in the Wp is automatically H1, because it's SEO suitable.
     
    Warmplay, May 22, 2012 IP
  8. sonuking

    sonuking Peon

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8






    yes i agree with you
     
    sonuking, May 22, 2012 IP
  9. seo-hosting.com

    seo-hosting.com Peon

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    There are 3 places to change a h1 tag and which you use depends on what you need to achieve. Simplest is as part of a post, using the html view, and writing html directly using the h1 tag as described by TheLeggit. This only affects the h1 entry for that specific post. Second is to change one or more of the template php files, e.g. single.php, and incorporate your h1 tag directly into the php/html mix. This will affect the content of your site that depends only on the file you have just modified. The third method would be to modify styles based on h1 in your css file. This could potentially affect all h1 instances found on your site depending on the template/css file structure.
     
    seo-hosting.com, May 22, 2012 IP
  10. seotrafficsearch

    seotrafficsearch Peon

    Messages:
    194
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Well if you have linked your post prior to making any changes with anchor text taken from the keyword of H1 tag, you should not think about making any changes to H1 tag. However if you haven't linked, you could possibly change the H1 or any other tags.
     
    seotrafficsearch, May 22, 2012 IP
  11. manis

    manis Well-Known Member

    Messages:
    530
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #11
    In the "Write Post" area, switch to the "HTML" view (top right of the write post area).
    You can write in HTML manually from this view:
    -------------
    <h1>A header goes here</h1>
    A paragraph goes here.
     
    manis, May 23, 2012 IP