Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4945 closed defect (bug) (fixed)

Paging broken when showing blog on a page with PATHINFO permalinks

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: 2.3 Priority: high
Severity: critical Version:
Component: Template Keywords:
Focuses: Cc:

Description

OS X - Apache 2.x, PHP 5.2.x

Permalink structure:

/index.php/%year%/%monthnum%/%day%/%postname%/

Showing a page on the front of the site, blog on a "blog" subpage.

If I go to /index.php/blog/ and mouse over the "Older Entries" link, it shows:

[redacted]/index.php/index.php/blog/page/2/

Change History (1)

#1 @markjaquith
17 years ago

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

(In [6068]) Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945

Note: See TracTickets for help on using tickets.