+ Reply to Thread
Results 1 to 6 of 6

Thread: admin folder/url

  1. #1

    admin folder/url

    how can I prevent that you can access the admin folder?

  2. #2
    You can use htaccess file and deny access to all except your ip

  3. #3
    how would the code look like?

  4. #4
    Something like this:

    order deny,allow
    deny from all
    allow from 1.11.11.111
    Change the bold one to your ip

  5. #5
    perfect
    thanks

    is prevented with this code that accesses all directories?
    how can I pass on the home automatically?

  6. #6
    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

+ Reply to Thread