With .htaccess everyhing is normal and I tested it on another hosting. # BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
.........................(wordpress cache plugin's settings)
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
.........................(wordpress settings)
</IfModule>
# END WordPress
order deny,allow
deny from all
allow from 99.99.99.99 (for e.g. my ip)
And of course I typed ip correctly, but I still doesn't have access if I use it order deny,allow
deny from all
allow from 99.99.99.99 (for e.g. my ip) or access to wp-admin (wp-login.php): <Files wp-login.php>
order deny,allow
deny from all
allow from 99.99.99.99
</Files>