POST causing a 404 error in Wordpress

I’ve just struck a problem while implementing my sudoku solver. It appeared that every time I posted a variable called ’s’ to my page Wordpress would return a 404 – page not found error.

You can post to a page and read the variables in PHP using $_POST – which is good – but you can’t name the variable “s” as this seems to conflict with existing Wordpress functionality.

If your having trouble posting to a wordpress page try renaming your variables.

Tags: ,

Leave a Reply