• 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://www.ads-software.com/support/?test=test+test (redirect occurs)
    https://www.ads-software.com/support/article/overview-of-wordpress/?test=test+test (no redirect)

    Our site analyst (SEO, tracking, etc) uses plus signs in his data and this can be problematic. It seems that the homepage should NOT be doing this. Is there a way to override this functionality, or this a bug in WordPress?

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

    • This topic was modified 4 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • Thread Starter kevindeleon

    (@kevindeleon)

    After more research, this seems to be a bug in WordPress — potentially in wp-includes/canonical.php — I’ve submitted this to core.trac.www.ads-software.com

    • This reply was modified 4 years, 3 months ago by kevindeleon.
Viewing 1 replies (of 1 total)
  • The topic ‘Site using static homepage redirects query string with pluses’ is closed to new replies.