.
htaccess
Let's talk about .htaccess file
How can we use it to :
- protect files
- protect directories
- allow or deny access
- redirect
- password protect a directory
- deny IP address
- hotlinking
Very important. Always have a backup of your files and after adding a new rule, test and see if it works. This way you'll prevent a lot of server internal errors, or if they do occur, you know which rule is not in agreement with your server.
So, .