WordPress rewrite permissions
Generally, when we try to open a page on our WordPress website and we get an error, it is because our WordPress does not have rewriting permissions in the main directory of our website.
We can easily solve this problem by creating a .htaccess file in the main directory of our website and adding the following .htaccess statement.
<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