[wp-trac] [WordPress Trac] #35646: Pagination links redirects to Startpage
WordPress Trac
noreply at wordpress.org
Thu Jan 28 13:43:01 UTC 2016
#35646: Pagination links redirects to Startpage
--------------------------+-----------------------------
Reporter: Deexgnome | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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
<?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%/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35646>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list