Skip to:

Opened 15 years ago

Closed 15 years ago

Last modified 2 months ago

#330 closed defect (bug) (fixed)

Pagination in Blogs resulting in 404

Reported by: jmax123's profile jmax123 Owned by:
Milestone: Priority: minor
Severity: Version:
Component: Keywords:


The problem is that instead of the "Next page" link points to www.domain./blog/blog/page/2 and this gives a 404 error.

  • Environment: I have no idea.
  • MU version and install options. MU 2.6.5 with subdirectories
  • BP version: Not sure but I think the first beta.
  • bbpress version: Haven't installed yet.
  • Browser: Not browser related
  • What theme are you talking about? Not theme related. Occurs on all user blogs
  • What have you done to investigate and narrow down the source of your problem? I checked all settings in the backend and upgraded WP mu. It was 2.5.3 before.

The problem is here: <?php posts_nav_link(' ', ('« Previous Page'), ('Next Page »')); ?>

  • Give us a sample of the error message: It's a 404 message
  • In some cases a link to your site would be helpful:

The "Next page" link should be: instead it's:

Change History (2)

#1 @burtadsit
15 years ago

Yep. Paging of index posts is broke using wp's standard next_posts_link() and previous_posts_link() and a wp theme. For me using 'news' to generate an index of posts using bp_catch_uri( 'index', true ), the url is

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r330

Note: See TracTickets for help on using tickets.