Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: 403 Forbidden
    Thread Starter bakdal

    (@bakdal)

    Thanks for the help. But I think I found the root cause of the whole mess. Should be some virus/malware/whatever.

    I want to modify .htaccess as well as index.php files but as soon as I edit them, or even delete both of them, they reappear unmodified a few seconds later. I even have a index.php1 file (which is the normal version).

    There must be another thing triggering the reloading of those 2 fucking files.

    Not sure what I should do at this point.

    Forum: Fixing WordPress
    In reply to: 403 Forbidden
    Thread Starter bakdal

    (@bakdal)

    Add: I checked .htaccess file and here is what is written on it:

    <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'>
    
    Order allow,deny
    
    Deny from all
    
    </FilesMatch>
    
    <FilesMatch '^(goods.php|buy.php|special.php|click.php|pages.php|product.php|shop.php|item.php|search.php|brand.php|wp-configs.php|install.php|plugin.php|admin.php|index.php|wp-login.php|about.php|defaults.php|function.php|mah.php)$'>
    
    Order allow,deny
    
    Allow from all
    
    </FilesMatch>
    
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    
    RewriteBase /
    
    RewriteRule ^index\.php$ - [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule . /index.php [L]
    
    </IfModule>

    I am nuts when it comes to code and stuff, so, is it normal that all that part “<FilesMatch ‘^(goods.php|buy.php|special.php|click.php|pages.php|product.php|shop.php|item.php|search.php|brand.php|wp-configs.php|install.php|plugin.php|admin.php|index.php|wp-login.php|about.php|defaults.php|function.php|mah.php)$’>” is in Deny from all?

Viewing 2 replies - 1 through 2 (of 2 total)