Search the Community
Showing results for tags 'htaccess'.
-
Hello, A little tutorial to help you to include some interesting element inside your .htaccess and increase the website security. I take also, the ClicShopping .htaccess inside this tutorial. Link can help you : https://htaccessbook.com/increase-security-x-security-headers/ ################################## # Security # Be carefull approach is different : Linux, Ngix, IIS # Below for linux ################################## <IfModule mod_headers.c> # prevent mime based attacks Header set X-Content-Type-Options "nosniff" # XSS Protection H
-
For moment, some badbots can very aggressive. There a solution to block this elements via your htaccess ################################## # Bot ################################## #Rules to block bad bods from accessing web pages on your site. #Remove or add more rules as per your needs. BrowserMatchNoCase "Baiduspider" bots BrowserMatchNoCase "SemrushBot" bots BrowserMatchNoCase "Yandex" bots BrowserMatchNoCase "BLEXBot" bots BrowserMatchNoCase "AhrefsBot" bots BrowserMatchNoCase "DotBot" bots BrowserMatchNoCase "Exabot" bots BrowserMatchNoCase "SeznamBot" bots BrowserMatchNo