Using .htaccess 












Using .htaccess/.htpasswd Password Protection 





Coding Tips 








Uploads and Downloads 



Mail 
see it on this page





Working with Images 


Frequently Requested Website Functionality 
see it on this page
see it on this page
see it on this page
see it on this page











Using PHP 




Website Managment 








Other Tips 









Prevent direct access to a pointer or subdomain directory
If you set up a domain pointer (or subdomain) using a directory that is created within your main domain directory, you can also get to the pointed site by using http://maindomain.com/pointerdirectory. You can prevent this using the code below in a .htaccess file in your pointed domain directory. If you try to access the directory with the wrong domain name (not the pointer domain or subdomain) it will re-route the request back to requested domain name (the main domain).