WordPress is not accessing pages or posts

This method may help you in resolving this problem.

Go to your root directory

And find there .htaccess file

put there the following code.

 

<IfModule mod_rewrite.c>
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
</IfModule>

 

This may help you in accessing your wordpress posts or pages.

Sometimes¬† wordpress gives error “page is not found” due to permalink structure.