-
March 28, 2015, 09:43 PM
#1
Junior Member
admin folder/url
how can I prevent that you can access the admin folder?
-
March 29, 2015, 12:12 PM
#2
Guru
You can use htaccess file and deny access to all except your ip
-
March 29, 2015, 03:20 PM
#3
Junior Member
how would the code look like?
-
March 29, 2015, 03:46 PM
#4
Guru
Something like this:
order deny,allow
deny from all
allow from
1.11.11.111
Change the bold one to your ip
-
March 29, 2015, 04:02 PM
#5
Junior Member
perfect
thanks
is prevented with this code that accesses all directories?
how can I pass on the home automatically?
-
March 29, 2015, 04:32 PM
#6
Guru
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