The previous/next entries buttons on category-specific pages link to previous/next entries on the top-level blog: /index.php/page/2 rather than /category/innovation/page/2. Switching to the default theme does not fix the problem. This is using the default WP previous/next entries function. I've tried searching for this problem and haven't found any posts -- perhaps someone here can help? I'm using the Thesis theme.
I need to take a look at the Theme. WordPress' database does not have a theme Called "Thesis" so I'm guessing it's downloaded from somewhere else. Can you please send a link or something?
Here you go, sorry about that: http://diythemes.com/thesis/
Look for "posts_nav_link" at the bottom of the archive.php or category.php of your theme.
Perhaps your theme has "next_posts_link and previous_posts_link()". You may replace them with "posts_nav_link()".
For more information, visit: http://codex.wordpress.org/Function_Reference/posts_nav_link
HTH
S.K
Weird, I can't find either of these files in the Thesis theme. That being said, I switched to the Twenty Ten theme and the problem persists. Any idea where else I can look for this code?
I believe I have found the section of theme code that dictates how Previous/Next Entries links are shown. Does this help diagnose the problem at all?
[Code moderated as per the Forum Rules. Please use the pastebin]
S.K -- I tried replacing the next_posts_link and previous_posts_link with post_navs_link but this did not fix the problem. The newly created "Previous Page" link still linked back to the main /index.php/page/2 rather than /category/innovation/page/2. Gah!
Whoops -- broke the forum rules with that code. It can be seen here: http://pastebin.com/Chmw2gaV
That is only for single posts. May be there is another function for archives and pages of posts. You may look it up.
S.K
@andy_ew
Link to your blog?
S.K
See links at the bottom of this category archive page: http://bit.ly/hyEsQI
I bit.ly'd it to keep this off Google...