سلام
اگه از وردپرس استفاده میکنید باید این کد را قرار بدید:

<Files .htaccess>
order deny,allow
deny from all
</Files>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine off
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

اما اگه از وردپرس استفاده نمیکنید این کد را قرار بدید:

<Files .htaccess>
order deny,allow
deny from all
RewriteEngine off
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]