[wp-trac] [WordPress Trac] #28081: Do a canonical redirect for pages when query var 'paged' is set
WordPress Trac
noreply at wordpress.org
Sun May 28 01:17:50 UTC 2017
#28081: Do a canonical redirect for pages when query var 'paged' is set
----------------------------------------+-----------------------------
Reporter: ocean90 | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Canonical | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by henry.wright):
I tested 28081.patch against a custom page template which uses a custom
query var for pagination.
Tried visiting the following with the patch applied:
- example.com/pagename/page/2/
- example.com/pagename/page/3/
- example.com/pagename/page/4/ etc
...all redirect to example.com/pagename/
As @ocean90 suggested above, custom page templates which are using a
custom pagination are a problem.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28081#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list