Certain Form Element Names Cause 404 in WordPress

I was just creating a custom registration form on a WordPress site. When I started testing the form the page it was submitting to returned a 404, but would function normally when navigating there naturally.

The issue arose from having the name of one of my form fields be “name.” It seems that WordPress uses some of these variables in its query, so submitting a form that has a field with the same name throws off the query and causes a 404. So far I’ve found reports of these words being reserved.

  • name
  • date
  • year
  • month
  • day
  • hour
  • minute