how can I prevent that you can access the admin folder?
Printable View
how can I prevent that you can access the admin folder?
You can use htaccess file and deny access to all except your ip
how would the code look like?
Something like this:
Change the bold one to your ipQuote:
order deny,allow
deny from all
allow from 1.11.11.111
perfect :)
thanks
is prevented with this code that accesses all directories?
how can I pass on the home automatically?
You can make separate htaccess file to each folder you want to limit access. You can add that code to your root if you want nobody to see your homepage