.htaccess rules to Harden your website’s Security

Below you see a list of the important rules that you can add to your .htaccess file to harden security, by greatly limiting the exposure of your website to many types of attacks.
Some of these rules include basic redirects, locking outside access to particular files, or more advanced functions such as preventing image hotlinking.
Add the following snippet to your /public_html/.htaccess file and modify where necessary.

Block Bad Bots and Spiders using .htaccess (Click for more)

Protect your wp-config.php file

Prevent Image & Video Hot Linking

Husband, user experience designer, web developer, code addict, a geek