[wp-trac] [WordPress Trac] #51141: URL parameters are altered on static homepage after unneeded 301 redirect

WordPress Trac noreply at wordpress.org
Tue Aug 25 16:39:39 UTC 2020


#51141: URL parameters are altered on static homepage after unneeded 301 redirect
--------------------------+-----------------------------
 Reporter:  kevindeleon   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 It seems as though all WordPress sites that I’m supporting for various
 clients has this same functionality — if the site is using a static
 homepage, and you visit the homepage with a query string containing `+`
 signs — the page is redirected (301) and the plus signs are turned into
 `%20` — Interior pages and posts do NOT suffer this same effect.

 For example (I am not supporting this site, just using it as an example):
 https://wpengine.com/?test=test+test (redirect occurs)
 https://wpengine.com/plans/?test=test+test (no redirect occurs)

 Another example:
 https://wordpress.org/support/?test=test+test (redirect occurs)
 https://wordpress.org/support/article/overview-of-
 wordpress/?test=test+test (no redirect)

 Our site analyst (SEO, tracking, etc) uses plus signs in his query string
 data and this can be problematic. It seems that the homepage should not be
 doing this.

 This also does not seem to affect sites that don’t use the “static
 homepage” option.

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


More information about the wp-trac mailing list