How to Protect Your Website From Unwanted Malware? | Scribe

    How to Protect Your Website From Unwanted Malware?

    • |
    • 0 step |
    • 2 minutes
    Navigate to your Preferred Hosting. For this step, we are using InfinityFree Shared Hosting.
    Click "Login"
    Choose Your Free Hosting Panel and Locate the File Manager
    Do not Click on the ".htaccess" in the Root Folder.
    Switch to tab "How to Protect Your Website From Hackers Via .htaccess File - Aesonlabs®"
    It's written that you MUST NOT Edit this file.
    Open the "Softaculous" Folder and Click on ".htaccess"
    Click "Edit"
    Click here.
    Paste this Code: # Prevent directory listing Options -Indexes # Block access to specific user agents (optional) SetEnvIfNoCase User-Agent (binlar|casper|cmsworldmap|comodo|diavol|dotbot|feedfinder|flicky|ia_archiver|jakarta|kmccrew|nutch|planetwork|purebot|pycurl|skygrid|sucker|turnit|vikspider|zmeu) keep_out Order allow,deny Allow from all Deny from env=keep_out
    Click here.
    Click "Save"
    Was this Scribe helpful?
    Save this document for future reference.
    This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe