[wp-trac] [WordPress Trac] #49369: Phantom redirects

WordPress Trac noreply at wordpress.org
Wed Feb 5 11:23:02 UTC 2020


#49369: Phantom redirects
-------------------------+-------------------------------------------------
 Reporter:  onlyonemj    |      Owner:  (none)
     Type:  defect       |     Status:  new
  (bug)                  |
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  HTTP API     |    Version:  5.3.2
 Severity:  major        |   Keywords:  2nd-opinion dev-feedback needs-dev-
  Focuses:  rest-api     |  note
-------------------------+-------------------------------------------------
 I was crawling some of my sites as I was setting up SEO strategies and
 found really odd 301 redirects on all tested sites.

 1. https://domain.com/http:// redirects to https://domain.com/http:/ (one
 forward slash less). So it's basically a nonexistent page redirecting to
 another nonexistent page

 2. To figure what could be causing this I needed to check if this was
 happening to just this site or others. I discovered that all sites
 suffered the same issue regardless of host or webserver stack.

 3. Wondering if Cloudflare a common plugin was causing it, I unproxied and
 entered all the sites in dev mode and had all plugins disabled and the
 problem still persists

 Spiders/crawlers pick this up - appending http:// to end of root URLs
 manually is not required.

 This issue persists - likely a bug in WordPress redirect API. Anybody care
 to replicate and confirm? Is this a bug?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49369>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list