• Resolved u22

    (@u22)


    I don’t have this plugin installed anymore and every x time the htaccess gets updated to this even if I delete the htaccess, any idea why?

    # BEGIN All In One WP Security
    #AIOWPS_CUSTOM_RULES_START
    <Files *.php>
        Order Allow,Deny
        Deny from all
    </Files>
    
    <FilesMatch "(index|wp-login|shop)\.php$">
        Order Allow,Deny
        Allow from all
    </FilesMatch>
    
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    #AIOWPS_CUSTOM_RULES_END
    # END All In One WP Security
Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @u22

    It seems the custom htaccess rules are getting added. It should be possible only if AIOS plugin active. please make sure the AIOS plugin not active.

    If you are not using AIOS plugin please follow the below to completely remove AIOS but have to make sure .htaccess has WordPress below rewrite rule added.

    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    In extra of remove the plugins files /wp-content/plugins/all-in-one-wp-security-and-firewall,
    tables start with {tableprefix}_aiowps needs to removed also remove from wp_options having “aio”

    SELECT * FROM wp_options WHERE option_name LIKE '%aio%'

    https://snipboard.io/AVyaWZ.jpg

    Please also remove from .htaccess all code between,

    “BEGIN All In One WP Security”
    “END All In One WP Security”

    Also make sure that wp-config.php. , htaccess, .user.ini file in root of the wordpress installed directory do not include the aios-bootstrap.php
    and remove aios-bootstrap.php from the same folder you have wp-config.php

    Also remove the wp-content\uploads\aios\firewall-rules\settings.php

    Regards

Viewing 1 replies (of 1 total)

The topic ‘htaccess is updated every time’ is closed to new replies.