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

404 error when passing "cat" parameter to URL

programmeradmin4浏览0评论

I encounter a strange problem with our WordPress site.

When I check the URL:

/

Everything is fine.

When I pass several parameters to the URL, for example:

/?os=Windows&param2=abc&param3=def

/?os=Windows

Both will be OK.

However, when I pass the parameter cat=xxx to the URL:

/?cat=Networking

I will get 404 not found error. It seems that only this parameter will cause problems. Why?

I encounter a strange problem with our WordPress site.

When I check the URL:

https://www.example/outlook-repair/

Everything is fine.

When I pass several parameters to the URL, for example:

https://www.example/outlook-repair/?os=Windows&param2=abc&param3=def

https://www.example/outlook-repair/?os=Windows

Both will be OK.

However, when I pass the parameter cat=xxx to the URL:

https://www.example/outlook-repair/?cat=Networking

I will get 404 not found error. It seems that only this parameter will cause problems. Why?

Share Improve this question edited Sep 27, 2020 at 9:35 MrWhite 3,8911 gold badge20 silver badges23 bronze badges asked Aug 15, 2020 at 23:41 alanccalancc 416 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Probably WordPress gets "cat" as a category query and tries to load it. Tested in a project of mine and I also get a 404 error.

发布评论

评论列表(0)

  1. 暂无评论