Add the following line to file .htaccess root (powered by wordpress):
Options -Indexes
All .htaccess file:
Options -Indexes
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
But now, almost every week of the file .htaccess is overwritten and the error occurs 500 - Internal Server Error and I have to send my file again .htaccess changes.
The WordPress automatically changes the. Htaccess root? How to prevent this?
The last .htaccess error:
# BEGIN WordPress#<IfModule mod_rew<IfModulRewriteEngine On
RewriteBase /
RewriteCond %{REQRewriteCond %{REQUERewriteCond %{REQRewriteCond %{REQUERewriteRule . /inRewriteRule </IfModule>
# END WordPress
# END WordPress
I need urgent support, because my site is very unstable. Thanks.