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:



Both will be OK.

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


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

1 Answer 1


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.

  • How to solve this problem?
    – alancc
    Aug 16, 2020 at 22:42
  • Rename your paramether from "cat" to something else
    – drcrow
    Aug 17, 2020 at 16:52
  • The URL is found in 404 error log and initiated by GoogleBot, not mine. (compatible; Googlebot/2.1; +google.com/bot.html)
    – alancc
    Aug 17, 2020 at 22:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.