Thanks for all help in advance.
I am using Atahualpa Theme 2.2.1 with pageNavi and permalinks. I get 404 errors for pages after the first page.
Website: https://depts.washington.edu/ophthweb/wordpress
everything works ok on the home page when showing most recent posts, e.g., http://depts.washington.edu/ophthweb/wordpress/ and http://depts.washington.edu/ophthweb/wordpress/page/2/
but if I use a link to a permalink, e.g.,
http://depts.washington.edu/ophthweb/wordpress/faculty/
I get a 404 error on page 2 and beyond (../page/2/)
my .htaccess file is writable.
Here's a snippet of a category page (category-38.php. 38 is the category ID for faculty).
All I added was an H2 header and query_posts line and commented out the_time and the_author in the loop.
any ideas on what I'm missing?
-Bill
------
<h2>Opthalmology Faculty</h2>
<?php //query_posts(array('category__and' => array(50,38)));
?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<small><!-- <?php the_time('F jS, Y') ?> by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<p>category-38.php</p>
<?php if(function_exists('wp_pagenavi')) { ?>
<div class="wp-pagenavi-navigation">
<?php wp_pagenavi(); ?>
</div>
<?php } else { ?>
<div class="navigation">
<div class="older"><?php next_posts_link(__('« Older Entries', 'atahualpa')); ?></div>
<div class="newer"><?php previous_posts_link(__('Newer Entries »', 'atahualpa')); ?></div>
<div style="clear:both"></div>
</div>
<?php } ?>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'atahualpa'); ?></h2>
<p class="center"><?php _e('Sorry, but you are looking for something that is not here.', 'atahualpa'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
------