if you found your wordpress got 404 in pages or posts, the couple thing that you need to check:

  • .htaccess file, this file exist? make sure file have this code bellow:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
  • Resave your permalink
  • Make sure your page or post is not in trash or not private status.

Leave a Comment