0
|
Hello Kevalin, Thank you for our question. The contents of your .htaccess file will differ depending on your specific web design, or CMS. The following code will block everyone from accessing the index.php file, except from IP address 111.11.11.111: #the following code prevents the display of the index.php file in a browser: I tested this successfully. If it is not working for you, try placing it on top of the .htaccess file (above the existing code). If that doesn't work there may be something coded in your .htaccess file affecting it. You can troubleshoot this by renaming your .htaccess file something like: .htaccess.old Then create a new file called .htaccess, and put the allow,deny rules in it. If you have any further questions, feel free to post them below. Thank you, -John-Paul |
Hi, John-Paul,
Right after I left here, I finally found out what I was doing wrong with the tutorial's instructions, so the problem SEEMS to be solved. However, I will definitely keep hold of your answer, not only for my future reference, but for those in my group who also have websites. Thanks SO MUCH for getting back to me... this is very handy information, indeed! :-) |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |