Ticket #4945 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Paging broken when showing blog on a page with PATHINFO permalinks

Reported by: markjaquith Assigned to: anonymous
Priority: high Milestone: 2.3
Component: Template Version:
Severity: critical Keywords:
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

09/10/07 15:06:40 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(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