[wp-trac] [WordPress Trac] #6603: bad next_posts_link when using a Static Front Page.

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 5 15:44:58 GMT 2008


#6603: bad next_posts_link when using a Static Front Page.
---------------------+------------------------------------------------------
 Reporter:  robanna  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.5      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 I'm using the following link structure:

 Front page displays
 A static page (select below)

     * Front page: Home (www.apexprd.org)
     * Posts page: News and Events (www.apexprd.org/news-and-events)

 - Permalinks: /news-and-events/%postname%

 In 2.3 this worked fine, I would get post pages under www/apexprd.org
 /news-and-events/page/2.

 In 2.5, posts show up as www.apexprd.org/page/2 and not /news-and-
 events/page/2 as it should. The link for next_posts_link shows as /news-
 and-events/page/2 but when you click on it, it returns a 404 error.

 If I change the permalink to anything but /news-and-events/ then it goes
 to the correct page

 Example: permalink structure is /news-and-events/%postname%
 click on next_posts_link and you get a 404 error. everything else works as
 it should

 Change the permalink structure is /news-and-event/%postname% (remove the
 's' on events)
 click on next_posts_link and it goes to /news-and-events/page/2/ just fine
 but all of the post links look like /news-and-event/post-name

 Could it be something in the rewrite.php file?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6603>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list