Opened 4 years ago
Closed 4 years ago
#56937 closed defect (bug) (duplicate)
Paginated results of a 'feed' term inaccessible
| Reported by: | dd32 | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Canonical | Version: | 2.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
As reported by @alvarogois in #meta6531, if a taxonomy (core, or custom) includes a term 'feed' and you attempt to access the paginated results of it, you'll be redirected to the incorrect location by redirect_canonical().
The cause is due to this code:
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/canonical.php?rev=53043&marks=430,437,443#L427
(is_paged() = true, /feed exists within path, strip it off)
For example, in the above Meta ticket, https://wordpress.org/plugins/tags/page/2/ is incorrectly redirected to https://wordpress.org/plugins/tags/page/2/, from there custom WordPress.org code kicks in and redirects it elsewhere.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #46061.