Greetings,
There are also a lot more then just banning IP addresses and directory index redirects to an .htaccess code. Here is one other small little tip that I do.
404 Error Document
- Create a .htaccess file, and insert the following code:
Code:
ErrorDocument 404 whatever/blah.php
- Now, change the whatever/blah.php to the file name of your 404 Error Page.
- This will code will make it so that if any user goes to a non-existing page, they will be redirected to your 404 error doc.
- I suggest doing this because having your 404 Error Document set in your SubDomain Manager located in your CPanel, sometimes causes errors within your site. I have experienced these errors, and it really sucks.
I hope this may help some other people too.
There is A LOT more you can do with .ht* files. I will post some more examples later.
_________________
Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)
CyberGeek's Software Solutions
-- WWW: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com