View Single Post
Old 02-11-2012, 08:15 PM  
vdbucks
Monger Cash
 
Industry Role:
Join Date: Jul 2010
Posts: 2,773
Quote:
Originally Posted by MyDogHasFleas View Post
It seems that a few of you understand what I'm asking. I want to have a 100% different title for each category page. I see that All in One SEO has the category name as part of the title.

domain.com has a title.
domain.com/category/anal/ I want it to have a 100% unique title for SEO purposes.
You need to create a custom categories page (file)... Most newer themes have a category.php file already in the theme so all you need to do is remove the <?php get_header() ?> line and copy your themes header to the top of the categories.php file.

Then for the Page titlte (assuming of course you're talking about the <title></title> section, you just need to get the category name and echo it there...

Something like this should work:
Code:
<?php $cats = get_the_category(); ?>
<title><?php echo $cats[0]->name; ?> </title>
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote