Do you have:
- A category
somecategory
defined? - Posts categorized with
somecategory
? - Some default
else:
content in the Loop incategory.php
?
I suspect the URL is returning a 404, and WordPress is simply serving up the root URL, because it has no content to serve up from category.php
.
EDIT
You don’t need to do anything special to get WordPress to use the category.php
template. It is a built-in part of the Template Hierarchy. You simply need to have a category created, and have Posts in that category.
EDIT 2
Can you try resetting your permalinks?
Do you have a live site link, so we can see the problem in action?
What is the markup of your category.php
template file? Can you post it?