Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#35646 closed defect (bug) (duplicate)

Pagination links redirects to Startpage

Reported by: deexgnome's profile Deexgnome Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.1
Component: Permalinks Keywords:
Focuses: Cc:

Description

Since the latest version of Wordpress i noticed some bugs with the redirect filter.

I'm using Wordpress on Nginx Debian with PHP-FPM.
Yesterday i got the notice that my pagination is broken

As example if a user clicks on the link
mysite.de/page/30/ he was been redirected to the Homepage

But:
/?page=30
/categoryname/page/10

were working.

I ran the Debug Mode but all that i saw was

[28-Jan-2016 10:36:41 UTC] PHP Notice:  Die verwendete Konstruktoren-Methode für WP_Widget ist seit Version 4.3.0 <strong>veraltet</strong>! Verwende stattdessen <pre>__construct()</pre>. in /var/www/clients/client1/web12/wow/wp-includes/functions.php on line 3624

and

[28-Jan-2016 10:36:55 UTC] PHP Notice:  wp_deregister_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in /var/www/clients/client1/web12/wow/wp-includes/functions.php on line 3792

So i removed all Plugins, and changed the theme to a clean standard Theme. The result was the same, the Page Link redirected me back to the Homepage.

At least i disabled the Wordpress Filter for Template Redirects

<?php
remove_filter('template_redirect', 'redirect_canonical');

Suddenly it was all working again. So there might be something wrong with it i think so. My current permalink structure is mysite.net/%postname%/

Change History (1)

#1 @Clorith
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi, and welcome to Trac!

We're aware of this and are tracking the progress over at #35344

Note: See TracTickets for help on using tickets.