How to SEO Optimize WordPress Theme in Less than 5 Minute


Do you know that your WordPress theme logo is one of main reason, you are behind your competitor? Is this sound strange to you? But I am 100% sure that 99% bloggers does not know.

Matt cutt in this epic video already told us that more than one h1 tag in a single page is harmful from the point of SEO, Still 99% so called SEO optimize WordPress theme comes with this deficiency.

In todays’ Tutorial I am going to show you how you can optimize any Free or Premium WordPress theme for better results.  But before that watch this Video very carefully.

What did you notice in this video ?  More than one H1 tag in your Webpage is harmful from SEO point of view still you supply more than one H1 tag on almost every page on your website ? Little bit strange

There is no strange at all. Just open your website’s Home Page  in Google chrome and right click on Logo and click on Inspect Element. What did you see. H1 tag. Now open any page of your website and repeat this process  for logo and title of your webpage.  ( Chrome has built in debugger in other browser you have to add some sort of addons)

List of  recommended heading Tags on any Page

Recommendation Heading Tags for Home Page

h1 Tag for Logo

h2 Tag for site Description

H3 Tag for Front Page  heading like recent Post or featured Post

h4 Tag for another Heading on your WordPress theme

H5 Tag for Widgets

For anything else like recent comments use listing ( ordered or unordered ) that is your choice

List of recommended Heading tags for single.php file

H1  Tag for Article heading

H2  tag for sub-heading of your article

H3 tag for sub-sub-heading of your article

H4 tag for your Theme logo – Now website description comes in paragraph tag

H5 tag for widget and

H6  tags for bottom link

More of less single.php file is almost same in all the themes, the most disappointing features is all the theme is- how they handle its  logo.  Lets hack out theme title first and then we will concentrate on logo of our WordPress theme

Some poorly coded Free WordPress Themes just display the description of your Website on almost every page/post thus harm much much more then anything else.  Every Post / Page on your website must contain keyword rich title of your post as the title of your webpage.

Just add the following code in your functions.php file. If it does not exist then go ahead and create one for your theme


function foodfactory_wp_title( $title, $sep ) {

global $paged, $page;

if ( is_feed() )

return $title;

// Add the site name.

$title .= get_bloginfo( 'name' );

// Add the site description for the home/front page.

$site_description = get_bloginfo( 'description', 'display' );

if ( $site_description && ( is_home() || is_front_page() ) )

$title = "$title $sep $site_description";

// Add a page number if necessary.

if ( $paged >= 2 || $page >= 2 )

$title = "$title $sep " . sprintf( __( 'Page %s', 'foodfactory' ), max( $paged, $page ) );

return $title;

}

add_filter( 'wp_title', 'anuj_wp_title', 10, 2 );

Now open your header.php file and replace your existing <title>…………….</title> code with this code


<title><?php wp_title( '|', true, 'right' ); ?></title>

Now its time to concentrate on our logo. Again open your function.php file and add following code


function header_logo() {

if(is_home()) { ?>

<h1 class="logo"><a href="<?php bloginfo('url');?>" title="<?php bloginfo('description');?>" rel="home"><img src="<?php echo get_theme_option('logo');?>"/></a></h1>

<h2 style="display:none;"><?php bloginfo('description');?></h2>

<?php }

else  { ?>

<h4 class="logo"><a href="<?php bloginfo('url');?>" title="<?php bloginfo('description');?>" rel="home"><img src="<?php echo get_theme_option('logo');?>"/></a></h4>

<?php } }

In our next step, you are required to open your style.css file and add this code at the bottom


.logo img{float:right;margin-top:10px;margin-right:10px;margin-bottom:10px;}

Now, its time to replace logo rendering code inside your header.php file. Just add


<?php header_logo();?>

At the appropriate place. And enjoy better SEO results from your current WordPress theme.




10 Brilliant Comments - Join Discussion Now!

  1. sonesh says:

    Woww SEO in 5 minutes and yes it is possible
    Thanks for sharing

    • rakesh says:

      You are most welcome sonesh. Hope this tips will help you to enhance your website’s visibility more on search engine. Keep in touch

    • rakesh says:

      This is really a point most free and premium themes used to forget. Did you also notice this in your theme sonesh?

  2. kartik says:

    Great tips.. i am don’t know this basic seo .. i am good on blogger but still wordpress is best.. thanks for sharing informative article
    Can i used this technique for my blogger blog. Also share this type of editing article about blogger too in next post..

  3. Ravikant says:

    really nice information thank you for this post. I like this type of SEO tips…

    • rakesh says:

      Thanks Ravikant, Try to include this tip in your website and also update us how much it was useful in your SEO. Keep in touch

  4. Hi Rakesh
    I was unaware of SEO optimized WordPress problems. Thanks for the information.

    • rakesh says:

      This is the main reason, a well developed WordPress theme is not so popular instead of that a Good looking WordPress theme outshine them in terms of sells.

  5. a well developed WordPress theme is not so popular instead of that a Good looking WordPress theme

  6. vkonnect says:

    Website performance will also influence your rankings in search engines. In addition to being ranked higher, many website owners report seeing an increase in search engine spider crawling after speeding up their design

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>