WordPress.org

Making WordPress.org

Opened 2 months ago

Last modified 13 days ago

#5324 reopened defect

Plugin URLs should 301 to lowercase

Reported by: jonoaldersonwp Owned by: dd32
Milestone: Priority: low
Component: Plugin Directory Keywords: seo
Cc:

Description

Plugin URLs like https://wordpress.org/plugins/Documentation/ should 301 to lowercase.

Change History (8)

#1 @dd32
13 days ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 10267:

Plugin Directory: Redirect plugins to their canonical location, avoiding mixed case urls.

Fixes #5324.

#2 @jonoaldersonwp
13 days ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Could this preserve URL parameters, please?

#3 @dd32
13 days ago

Which URL parameters?

#4 @jonoaldersonwp
13 days ago

Any/all. I.e., we should redirect the path to lowercase, rather than redirecting the whole request to the canonical.

#5 @dd32
13 days ago

  • Resolution set to fixed
  • Status changed from reopened to closed

Okay, there aren't any URL parameters that need keeping here then.

#6 @jonoaldersonwp
13 days ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

We rely on various UTM parameters for Google Analytics.

#7 @dd32
13 days ago

Thank you for answering my question.

I don't think we care for keeping the query vars anywhere else, I don't think I'm going to add them here. We don't use UTM links anywhere on WordPress.org, although some plugins and 3rd parties might be setting them.

In other words: I'm leaving this as-is. If 3rd parties set the correct URLs they'll pass through, but I'm not jumping through hoops for it here.

Last edited 13 days ago by dd32 (previous) (diff)

#8 @jonoaldersonwp
13 days ago

We don't need to add them in, we need to not remove them. That's not best practice, and it'll cause us headaches in the future if/when we start to mature our analytics ecosystem.

Note: See TracTickets for help on using tickets.