I am getting 404 page not found when I try to create new post.
You can try each one of these:
Go to WordPress Dashboard > Settings > Permalinks and simply hit Save Changes.
Make sure there’s no
index.htmlin your website’s root directory (i.e. the directory in which WordPress files are located).
Create an .htaccess file in your
wp-admindirectory with the following contents:
<IfModule mod_security.c> SecFilterEngine Off </IfModule>
And oh, the quickest way to figure out what’s wrong would be to edit your wp-config.php and set:
define( 'WP_DEBUG', TRUE ); // default is FALSE
Fix any errors that you see and see if that fixes the problem.
Source: Google Search