## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
## EXPIRES CACHING ## #Gzip
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
#End Gzip ModPagespeed on
# using commands,filters etc
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript Header unset ETag
FileETag None # Begin HackRepair.com Blacklist
RewriteEngine on
# Abuse Agent Blocking
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow RewriteCond %{HTTP_USER_AGENT} ^Bolt\ 0 RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot\@yahoo\.com RewriteCond %{HTTP_USER_AGENT} CazoodleBot RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw RewriteCond %{HTTP_USER_AGENT} ^Custo RewriteCond %{HTTP_USER_AGENT} ^Default\ Browser\ 0 RewriteCond %{HTTP_USER_AGENT} ^DIIbot RewriteCond %{HTTP_USER_AGENT} ^DISCo RewriteCond %{HTTP_USER_AGENT} discobot RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon RewriteCond %{HTTP_USER_AGENT} ^eCatch RewriteCond %{HTTP_USER_AGENT} ecxi RewriteCond %{HTTP_USER_AGENT} ^EirGrabber RewriteCond %{HTTP_USER_AGENT} ^EmailCollector RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon RewriteCond %{HTTP_USER_AGENT} ^EmailWolf RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE RewriteCond %{HTTP_USER_AGENT} ^FlashGet RewriteCond %{HTTP_USER_AGENT} ^GetRight RewriteCond %{HTTP_USER_AGENT} ^GetWeb! RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It RewriteCond %{HTTP_USER_AGENT} ^GrabNet RewriteCond %{HTTP_USER_AGENT} ^Grafula RewriteCond %{HTTP_USER_AGENT} GT::WWW RewriteCond %{HTTP_USER_AGENT} heritrix RewriteCond %{HTTP_USER_AGENT} ^HMView RewriteCond %{HTTP_USER_AGENT} HTTP::Lite RewriteCond %{HTTP_USER_AGENT} HTTrack RewriteCond %{HTTP_USER_AGENT} ia_archiver RewriteCond %{HTTP_USER_AGENT} IDBot RewriteCond %{HTTP_USER_AGENT} id-search RewriteCond %{HTTP_USER_AGENT} id-search\.org RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker RewriteCond %{HTTP_USER_AGENT} Indy\ Library RewriteCond %{HTTP_USER_AGENT} ^InterGET RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja RewriteCond %{HTTP_USER_AGENT} ^InternetSeer\.com RewriteCond %{HTTP_USER_AGENT} IRLbot RewriteCond %{HTTP_USER_AGENT} ISC\ Systems\ iRc\ Search\ 2\.1 RewriteCond %{HTTP_USER_AGENT} ^Java RewriteCond %{HTTP_USER_AGENT} ^JetCar RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider RewriteCond %{HTTP_USER_AGENT} ^larbin RewriteCond %{HTTP_USER_AGENT} ^LeechFTP RewriteCond %{HTTP_USER_AGENT} libwww RewriteCond %{HTTP_USER_AGENT} libwww-perl RewriteCond %{HTTP_USER_AGENT} ^Link RewriteCond %{HTTP_USER_AGENT} LinksManager.com_bot RewriteCond %{HTTP_USER_AGENT} linkwalker RewriteCond %{HTTP_USER_AGENT} lwp-trivial RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader RewriteCond %{HTTP_USER_AGENT} ^Maxthon$ RewriteCond %{HTTP_USER_AGENT} MFC_Tear_Sample RewriteCond %{HTTP_USER_AGENT} ^microsoft\.url RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL\ Control RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX RewriteCond %{HTTP_USER_AGENT} Missigua\ Locator RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*Indy RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*NEWT RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage RewriteCond %{HTTP_USER_AGENT} ^Navroad RewriteCond %{HTTP_USER_AGENT} ^NearSite RewriteCond %{HTTP_USER_AGENT} ^NetAnts RewriteCond %{HTTP_USER_AGENT} ^NetSpider RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire RewriteCond %{HTTP_USER_AGENT} ^NetZIP RewriteCond %{HTTP_USER_AGENT} ^Nutch RewriteCond %{HTTP_USER_AGENT} ^Octopus RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator RewriteCond %{HTTP_USER_AGENT} ^PageGrabber RewriteCond %{HTTP_USER_AGENT} panscient.com RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto RewriteCond %{HTTP_USER_AGENT} ^pavuk RewriteCond %{HTTP_USER_AGENT} PECL::HTTP RewriteCond %{HTTP_USER_AGENT} ^PeoplePal RewriteCond %{HTTP_USER_AGENT} ^pcBrowser RewriteCond %{HTTP_USER_AGENT} PHPCrawl RewriteCond %{HTTP_USER_AGENT} PleaseCrawl RewriteCond %{HTTP_USER_AGENT} ^psbot RewriteCond %{HTTP_USER_AGENT} ^RealDownload RewriteCond %{HTTP_USER_AGENT} ^ReGet RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 RewriteCond %{HTTP_USER_AGENT} SBIder RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ RewriteCond %{HTTP_USER_AGENT} ^sitecheck\.internetseer\.com RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger RewriteCond %{HTTP_USER_AGENT} ^SmartDownload RewriteCond %{HTTP_USER_AGENT} Snoopy RewriteCond %{HTTP_USER_AGENT} Steeler RewriteCond %{HTTP_USER_AGENT} ^SuperBot RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP RewriteCond %{HTTP_USER_AGENT} ^Surfbot RewriteCond %{HTTP_USER_AGENT} ^tAkeOut RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola RewriteCond %{HTTP_USER_AGENT} URI::Fetch RewriteCond %{HTTP_USER_AGENT} urllib RewriteCond %{HTTP_USER_AGENT} User-Agent RewriteCond %{HTTP_USER_AGENT} ^VoidEYE RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker RewriteCond %{HTTP_USER_AGENT} Web\ Sucker RewriteCond %{HTTP_USER_AGENT} webalta RewriteCond %{HTTP_USER_AGENT} ^WebAuto RewriteCond %{HTTP_USER_AGENT} ^ebandit RewriteCond %{HTTP_USER_AGENT} WebCollage RewriteCond %{HTTP_USER_AGENT} ^WebCopier RewriteCond %{HTTP_USER_AGENT} ^WebFetch RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS RewriteCond %{HTTP_USER_AGENT} ^WebLeacher RewriteCond %{HTTP_USER_AGENT} ^WebReaper RewriteCond %{HTTP_USER_AGENT} ^WebSauger RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester RewriteCond %{HTTP_USER_AGENT} ^WebStripper RewriteCond %{HTTP_USER_AGENT} ^WebWhacker RewriteCond %{HTTP_USER_AGENT} ^WebZIP RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II RewriteCond %{HTTP_USER_AGENT} WEP\ Search RewriteCond %{HTTP_USER_AGENT} ^Wget RewriteCond %{HTTP_USER_AGENT} ^Widow RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider RewriteCond %{HTTP_USER_AGENT} zermelo RewriteCond %{HTTP_USER_AGENT} ^Zeus RewriteCond %{HTTP_USER_AGENT} ^Zeus\.*Webster RewriteCond %{HTTP_USER_AGENT} ZyBorg RewriteRule ^.* - # Abuse bot blocking rule end
# End HackRepair.com Blacklist
Optimise .htaccess
Here is a copy of the .htaccess file from one of our websites. Insert some or all of the following lines of code into the WordPress .htaccess file. Remember to make a backup of your file and WordPress installation before making any changes.