Nov
20
2012

SEO Heading Tag H1 H2 H3 H4 in WordPress :- CHANGING .

SEO for WordPress Hosting Guide yourself by CHANGING the heading tags H1 and H2 for the blog name to the title of the article on the homepage / main page. H1 and H2 for article title for the blog name in a single post / page static.
Adjust so that the headingtags H1 and H2 for the blog name to the title of the article on the homepage / main page. H1 and H2 for article title for the blog name in single post.the following steps:STEP ONE: CHANGINGTO H1 H21. Login to the WP admin -> Appearance -> Editor -> single.php -> locate the following code:
view plainprint?
<Div class = “post” id = “post-<? Php the_ID ();?>”>
<h2> <a href = “<? php echo get_permalink ()?>” rel = “bookmark” title = “Permanent Link: <? php the_title_attribute (); ?>”><? php the_title ();?> < / a> </ h2>2. Replace H2 to H1 as follows:view plainprint?
<Div class = “post” id = “post-<? Php the_ID ();?>”>
<h1> <a href = “<? php echo get_permalink ()?>” rel = “bookmark” title = “Permanent Link: <? php the_title_attribute (); ?>”><? php the_title ();?> < / a> </ h1>STEP TWO: DISPOSING BLOG TITLE TAG H1 pasa articles or static pages1. Appearance -> Editor -> header.php and find the following code:
view plainprint?
<h1> <a href = “<? php echo get_option (‘home’); ?>”><? php bloginfo (‘name’);?> </ a> </ h1>2. Replace with the following code:
view plainprint?
<? Php if (is_home ()):?>
    <h1> <a href = “<? php echo get_option (‘home’); ?>”><? php bloginfo (‘name’);?> </ a> </ h1>
<? Php else:?>
    <span id=”blogTitle”>
      <h3> <a href = “<? php echo get_option (‘home’); ?>”><? php bloginfo (‘name’);?> </ a> </ h3>
    </ Span>
<? Php endif;?>

THIRD STEP: REPLACING CSS BLOG TITLE TITLE AND ARTICLES

1. Appearance -> Editor -> style.css
view plainprint?
p # {blogTitle
    display: block;
    font-size: 4em;
    text-align: center;
    padding-top: 70px;
    font-weight: bold;
    font-family: ‘Trebuchet MS’, ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
}
div # a {blogTitle
    color: white;
    text-decoration: none;
}
div # blogTitle a: hover {
    text-decoration: none;
}

. Post h1 {
    color: # 333333;
    text-decoration: none;
    font-size: 1.6em;
    text-align: left;
    padding-top: 0;
}

Change colors and sizes to suit your theme.

resulting from changes in the codes above

Title of the blog will use heading tags h1 h2 is the title of the article put on the main page. While in a static article pages or page title of the article will use the blog name to use h1 and h2 heading tag.

Conjunction with SEO

This way your site / blog to communicate with the Google search engine, etc.. H1 to tell Google that the text is wrapped in h1 crux being wrapped in h2 is the second most important.

On the main page (homepage) The most important is the name of your blog / site. While on article pages / posts, the most important is the title of the article, not the name of the blog.

the hierarchy of headings tags H1 H2 H3 H4 H5 H6 in WordPress

Here are the details of the correct hierarchy of headings tag:

On the home page (main page)

* H1 for the title / name of the blog
* H2 for the title of the article / post

In the category, tag, archive and search page (search pages)

* H4 to title / name of the blog
* H1 for the category, tag, title or keyword search archives
* H2 for the title of the article

On article pages (single post page)

* H4 to the title of the blog
* H1 for the title of the article / post
* H2 for titles related articles (if any)
* H3-H4 to link categories and tags

heading

29technology :

  • h1/h2 title tags for seo in wordpress 3 5

Related Posts

About the Author:

Leave a comment