• Resolved bostrb

    (@boosterbast)


    Which setting in the plugin controls this part of the .htaccess file?

    #AIOWPS_BLOCK_WP_FILE_ACCESS_START

    <Files license.txt>

    <IfModule mod_authz_core.c>

    Require all denied

    </IfModule>

    <IfModule !mod_authz_core.c>

    Order deny,allow

    Deny from all

    </IfModule>

    </Files>

    <Files wp-config-sample.php>

    <IfModule mod_authz_core.c>

    Require all denied

    </IfModule>

    <IfModule !mod_authz_core.c>

    Order deny,allow

    Deny from all

    </IfModule>

    </Files>

    <Files readme.html>

    <IfModule mod_authz_core.c>

    Require all denied

    </IfModule>

    <IfModule !mod_authz_core.c>

    Order deny,allow

    Deny from all

    </IfModule>

    </Files>

    #AIOWPS_BLOCK_WP_FILE_ACCESS_END
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @boosterbast,

    This was from the WP Security > File security > File protection tab – Prevent access to WP default install files: setting if enabled, It adds that code to .htaccess file

    This feature is not available in latest versions of AIOS instead provides the option to delete those files.

    Regards

    Thread Starter bostrb

    (@boosterbast)

    Hi,

    Thanks for the reply!

    Does it delete the files via a cron job or anything? Because I checked the files after enabling the setting to delete those files. But the files are still there?

    • This reply was modified 1 month, 3 weeks ago by bostrb.
    Thread Starter bostrb

    (@boosterbast)

    The AIOS 15 min cronjob ran. But the files are still present. It seems like the function is not working.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @boosterbast,

    No, delete readme.html, license.txt and wp-config-sample.php files is deleted as you press Delete button, It is not deleted using the cronjob.

    Ok, can you please Enable the debug from WP security > Settings > General settings. ? and check if the WP Security > Dashboard > Debug logs have any error recorded like do not have permission to delete those files.

    https://snipboard.io/VLdnM0.jpg

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.