最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Site using static homepage, redirects (301) and removes pluses from query string

programmeradmin1浏览0评论

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):

/?test=test+test (redirect occurs)

/?test=test+test (no redirect occurs)

Another example:

/?test=test+test (redirect occurs)

/?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 is this a bug in WordPress?

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

发布评论

评论列表(0)

  1. 暂无评论