Making WordPress.org

Changes between Initial Version and Version 2 of Ticket #5290


Ignore:
Timestamp:
07/02/2020 07:07:42 AM (19 months ago)
Author:
dd32
Comment:

Unfortunately ?cat=-1 is a valid request, as is /tag/tagname/?cat=-1234, which is just as valid as /tag/tagname/?category_name=catname

This is an unfortunate scenario where WordPress's flexibility is incredibly hard to handle.

The challenge with multi-taxonomy queries like this, is which is the canonical? /tag/tagname/?category_name=catname or /category/catname/?tag=tagname?

If the QV should just be excluded from the canonicalisation, the further question that's raised is "Does what the canonical is actually set to matter at all? Should it just be set to the homepage for a multi-taxonomy query if one should be ignored?"

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5290 – Description

    initial v2  
    1 Requests such as https://wordpress.org/plugins/tags/web-application-firewall/?cat=-1 andhttps://wordpress.org/themes/tags/blog/?example=example&cat=-1 omit canonical URL tag and hreflang tags.
     1Requests such as https://wordpress.org/plugins/tags/web-application-firewall/?cat=-1 and https://wordpress.org/themes/tags/blog/?example=example&cat=-1 omit canonical URL tag and hreflang tags.
    22
    33These should be (re)included, and the parameter ignored.