Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4067 closed defect (bug) (fixed)

Plugin & theme tag templates should have a canonical URL

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords: seo


Change History (10)

#1 @dd32
5 years ago

  • Owner set to dd32
  • Status changed from new to accepted

#2 @dd32
5 years ago

In 8185:

Plugin Directory: Add proper URLs and Titles for the plugin_section (browse/%) and plugin_contributors (author/%) taxonomies.

This is needed so as to get a canonical URL for these taxonomies.

See #4067.

#3 @dd32
5 years ago

In 8186:

Plugin Directory: Output a <link rel="canonical"> on most plugin directory pages.

See #4067.

#4 @dd32
5 years ago

In 8187:

Plugin Directory: Output hreflang links to all languages on non-plugin pages.

Previously these were using the first plugin in an archive, which resulted in varied alternates.

See #4067.

#5 @dd32
5 years ago

In 8188:

Plugin Directory: Add support for the front page for canonical links.

See #4067.

#6 @dd32
5 years ago

In 8189:

Theme Directory: Add <link rel="canonical"> to Theme Directory archives and queries.

See #4067.

#7 @dd32
5 years ago

  • Component changed from General to Plugin Directory
  • Resolution set to fixed
  • Status changed from accepted to closed

That should cover most of the bases here, re-open if anyone notices anything off.

#8 @dd32
5 years ago

In 8190:

Theme Directory: Disable the canonical links for theme authors, as it's causing a fatal.

See #4067.

#9 @dd32
5 years ago

In 8191:

Theme Directory: Properly create canonical links for Author Archives.

See #4067.

#10 @dd32
5 years ago

In 8192:

Plugin Directory: Update the function that determines the current URL to reflect bugs found while implementing it for the Theme Directory.

  • is_tax() doesn't cover is_tag() or is_category()`. Neither are linked to, but they do exist in the background.
  • is_author() isn't used by the Plugin Directory (A taxonomy handles author/%) and this branch will fatal if run.

See #4067.

Note: See TracTickets for help on using tickets.