[wp-trac] [WordPress Trac] #42835: <link rel="canonical"> for paged static front-page is wrong
WordPress Trac
noreply at wordpress.org
Fri Dec 8 08:44:04 UTC 2017
#42835: <link rel="canonical"> for paged static front-page is wrong
--------------------------+-----------------------------
Reporter: chesio | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello,
I have a website with custom paging on my static front-page. I use
{{{page}}} slug to handle paging, because without the slug I get 404
error, but I noticed that there is no slug present in {{{<link
rel="canonical">}}} URL generated by WordPress.
For example: Page at {{{http://example.com/page/2/}}} has {{{<link
rel="canonical" href="http://example.com/2/" />}}}, but as said above,
{{{http://example.com/2/}}} serves a 404 page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42835>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list