[wp-meta] [Making WordPress.org] #4325: Pagination and rel next/prev links should build from the canonical, not the request (was: Pagination links should build from the canonical, not the request)

Making WordPress.org noreply at wordpress.org
Tue Mar 26 12:11:17 UTC 2019


#4325: Pagination and rel next/prev links should build from the canonical, not the
request
----------------------------+---------------------
 Reporter:  jonoaldersonwp  |       Owner:  (none)
     Type:  defect          |      Status:  new
 Priority:  lowest          |   Milestone:
Component:  General         |  Resolution:
 Keywords:  seo analytics   |
----------------------------+---------------------
Changes (by jonoaldersonwp):

 * component:  Support Forums => General


Old description:

> Pagination links on support forum templates like
> https://wordpress.org/support/plugin/eshop/page/20/?sausage=dog carry the
> query parameter through.
>
> These links should instead be constructed from the canonical URL tag,
> rather than from the query/request.
>
> E.g., the link to page 19 on
> https://wordpress.org/support/plugin/eshop/page/20/?sausage=dog should be
> https://wordpress.org/support/plugin/eshop/page/19/.

New description:

 Pagination links on templates like
 https://wordpress.org/support/plugin/eshop/page/20/?sausage=dog carry the
 query parameter through.

 These links should instead be constructed from the canonical URL tag,
 rather than from the query/request.

 E.g., the link to page 19 on
 https://wordpress.org/support/plugin/eshop/page/20/?sausage=dog should be
 https://wordpress.org/support/plugin/eshop/page/19/.

 Additionally, rel next/prev tags in the head also carry the query; these
 should be built from the canonical.

 E.g., the rel prev/next links on
 https://wordpress.org/plugins/tags/facebook/page/3/?qEGgVZWOMY6QuASuwpvADg&ved=0CD0QFjAHOGQ&usg=AFQjCNE96Vqc6usb8znBhhw9tvxNe3pKUw
 should be https://wordpress.org/plugins/tags/facebook/page/4/ and
 https://wordpress.org/plugins/tags/facebook/page/2/ respectievely.

--

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4325#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list