Tag Archives: wordpress page not found

Fix WordPress 404 Problem


What is WordPress 404 Problem?

User gets a 404(Page Not Found) Error on posting an article, saving a draft or other instances.

The solutions are for Self-Hosted WordPress Instalation only.

Solution (1):

  1. Save a .htaccess file in the root directory of your WordPress Installation.
  2. Add SecFilterEngine Off to disable mod_security or you can add SecFilterScanPOST Off to disable HTTP POST scanning. My suggestion is to go for disabling HTTP POST scanning since disabling mod_security is a bit risky.
  3. Now test WordPress. And if it still breaks then move to next solution.

Note: In some sites, .htaccess gets override. So you can request your hosting company to disable HTTP POST scanning or mod_security.

Solution (2):

  1. Post the article only with title, tags and categories. And note down the ID of the post(e.g. http://example.com/?p=1234)
  2. Now open phpMyAdmin and open wp_posts table.
  3. After that search the ID and add the article in HTML format in post_content field of table. See the screenshot.
  4. Save the record. And check your blog.

http://example.com/?p=N

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts