I found the answer!!! I am using a static page as my front page so the problem was i didn’t have anything set for the posts page. In the dashboard – settings – reading, if a static page is the front page make sure that a posts page is also selected. I just made a blank page and made that the posts page. Problem solved
I’m not a greater coder but to call different headers i use this code in my index.php and page templates.
<?php
if (is_page('contact') {
<?php include (TEMPLATEPATH . '/headercontact.php'); ?>
}
elseif (is_page('gallery') {
<?php include (TEMPLATEPATH . '/headergallery.php'); ?>
}
else {
<?php get_header(); ?>
}
?>
then just make the files headercontact.php and headergallery.php
otherwise i think these pages might help you out…
http://codex.wordpress.org/Conditional_Tags
http://codex.wordpress.org/Include_Tags
I am having the same problem. any garbage url displays all of my pages.
please help!
thank you