This is the weirdest thing. Everything has been working fine until this evening when I'm trying to add a new Page. Everything looks like it's right inside the administration area. However, when I click on the new Page to view it (from the site nav), I am taken to the main blog page.
Has anyone had this problem?
Editing to add...here's the code I have in page.php
<?php get_header(); ?>
<div id="content">
<?php get_sidebar(); ?>
<div id="text">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content(); ?> <!-- post content -->
<?php link_pages('<p>Pages: ', '</p>', 'number'); ?>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
</div> <!-- end .entry -->
</div> <!-- end .post -->
<?php endwhile; ?>
<?php else : ?>
<div class="post">
<h2><?php _e('Not Found'); ?></h2>
</div> <!-- end .post -->
<?php endif; ?>
</div> <!-- end #text -->
</div> <!-- end #content -->
</div> <!-- end #wrapper -->
<?php get_footer(); ?>