Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#35353 closed defect (bug) (duplicate)

Endless loop when canonical URL contains caps

Reported by: rmens Owned by:
Priority: normal Milestone:
Component: Canonical Version: 4.4.1
Severity: normal Keywords:
Cc: Focuses:

Description

Could reproduces this on 2 sites with 4.4.1

When my site is http://www.johnappleseed.com and i stylize it as http://www.JohnAppleseed.com as the canonical URL, an endless redirect loopt occurs on the homepage.

Wordpress is trying to redirect http://www.johnappleseed.com to http://www.JohnAppleseed.com which the browser opens as url without caps. So Wordpress tries again.

There should be a check which makes this all lower caps.

Change History (3)

#1 follow-up: @kraftbj
11 years ago

Thanks for the report!

I haven't confirmed, but this may be related/same root issue as #35344. @dd32 - does this seem probable based on your research into that bug?

#2 in reply to: ↑ 1 @rmens
11 years ago

Replying to kraftbj:

Thanks for the report!

I haven't confirmed, but this may be related/same root issue as #35344. @dd32 - does this seem probable based on your research into that bug?

Just did some more testing. This only seems to occur when there is a custom post type or blog listing page set as a front page. So probably related/same.

#3 @pento
11 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #35344.

Note: See TracTickets for help on using tickets.