Hilliergroup…
Just my opinion, but I think the code that Michael listed is not necessary. I would delete that and start over.
The page title code should be included only in your header file (header.php). The only code you need to change is the title tag..
<title></title>
It often looks like this…
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
Each of those php tags calls different information into the title tag. You can remove or reorder them as needed. You can even include regular text between them. You can get more info on WP tags here:
A quick breakdown is
<?php bloginfo('name'); ?>
…This shows the name of your blog which you entered in the General Options panel
*If you want every page to include “Seattle Real Estate-Seattle Washington Real Estate” you can simply enter this into the Weblog Title section on the General Options page. You could also delete this tag and simply add your text directly into the title tags.
Another variation of this tag is <?php bloginfo('description'); ?>
…This shows the description of your blog which you enter in the General Options panel under “Tagline”.
<?php if ( is_single() ) { ?> » Blog Archive <?php } ?>
…This tells the browser to show the text “Blog Archive” whenever a single post page is being viewed. You can change the text “Blog Archive” to whatever you like.
<?php wp_title(); ?>
…This tag pulls the title of your post, page, category, etc depending on what’s being viewed.
Having keyword rich page titles is important for SEO but you really want detailed titles. That will help broaden your chances of picking up variations of keyword phrases related to your topic. So I would suggest you at least include the wp_title tag along with your keyword text. You do want your most important keywords at the beginning of the title though.
So taking this all into account here are two different ways you could edit your title tags to show your keyword phrase…
1. <title>Seattle Real Estate-Seattle Washington Real Estate <?php wp_title(); ?></title>
* This will show whatever text you include, plus the post/page/or cat title.
2. <title><?php bloginfo('name'); ?> Keywords Here <?php wp_title(); ?></title>
* This will show your blog title, plus any keyword text you include, plus the post/page/or cat title.
My experience with SEO is that you don’t need to use multiple variations of keywords, if you include a keyword at least once search engines will put those keywords into different combos for you. So you could do something like “Seattle Real Estate Journal – Homes & Property for sale in Washington”. It would just depend on who you’re targeting and how many different related terms you want to pull in.