Ok, so Ive found out that for good SEO you should change your blog template to allow your post titles to be H1, and make your main blog title H2. Something I read said go into the template Header(header.php) and change it to H2, then go to the posts.php and change the post titles to H1. With that said I went into the header.php and found this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php wp_title("-", TRUE, "right"); ?><?php bloginfo('name'); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<link rel="stylesheet" href="<?php bloginfo
Looks to me it doesnt have any H tags on the title at all, do I just need to add H2 tags to the title portion here??
Also when I go to Main Index Page(index.php) I found
<h2 class="postTitle">
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
I assume this is where I change the post titles to an H1 from the H2 they are default?? It said to change post titles in the post.php file, but I cant find that file, only this index.php i pasted above,,,is this what I change for posts???
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php wp_title("-", TRUE, "right"); ?><?php bloginfo('name'); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<link rel="stylesheet" href="<?php bloginfo
Looks to me it doesnt have any H tags on the title at all, do I just need to add H2 tags to the title portion here??
Also when I go to Main Index Page(index.php) I found
<h2 class="postTitle">
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
I assume this is where I change the post titles to an H1 from the H2 they are default?? It said to change post titles in the post.php file, but I cant find that file, only this index.php i pasted above,,,is this what I change for posts???


Comment