How to prevent downloading and leeching media files

How Do I Stop Hotlinking, Bandwidth Theft, Downloading and Leeching media files? You can stop downloading / hotlinking / leeching your site’s files using .htaccess in your Apache root or directory. The Apache mod_rewrite must be enabled for this. The 1st line of the above code begins the rewrite. The 2nd line matches any requests … Read more

How to clean malware from website?

Malware, short for malicious software, is a software designed to secretly access a computer system without the owner’s informed consent. The expression is a general term used by computer professionals to mean a variety of forms of hostile, intrusive, or annoying software or program code. Sucuri SiteCheck is a free & remote scanner. SCAN Website … Read more

Protect website folders by .htaccess

<IfModule dir_module> DirectoryIndex index.html index.php index.php4 index.php3 index.cgi index.pl index.htm index.shtml index.phtml </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !(css) RewriteCond %{REQUEST_URI} !(js) RewriteCond %{REQUEST_URI} !(images) RewriteCond %{REQUEST_URI} !(videos) RewriteCond %{REQUEST_URI} !(cache) </IfModule>