Recently I've been looking up .htaccess to protect my content which is in folders on my host.
I followed a tutorial online that showed me how to deny all IP address apart from my own. This caused a big problem. It worked - but images then would not work on my website and people could not link my button etc.
This also happens to me when I password protect my directories via cPanel. Is there an easy way of doing this?
I basically want all my folders forbidden to everyone apart from me, yet the images or whatever content is in the folder still shows on the webpage.
Thanks very much for your help!
I followed a tutorial online that showed me how to deny all IP address apart from my own. This caused a big problem. It worked - but images then would not work on my website and people could not link my button etc.
This also happens to me when I password protect my directories via cPanel. Is there an easy way of doing this?
I basically want all my folders forbidden to everyone apart from me, yet the images or whatever content is in the folder still shows on the webpage.
Thanks very much for your help!












