• Hello everyone,

    So I went to my site: https://mysite.com/wp-admin

    And I see all my files, the wp-config, and everything else. I do not know why. It did not happened before. I have my index.php there too. So I am lost. I added this, but it is not helping. Any ideas? Please

    <FilesMatch "wp-login.php">
    Order Allow,Deny
    Allow from 207.35.63.666 (fake)
    Deny from all
    </FilesMatch>
    
    # STRONG HTACCESS PROTECTION
    <Files ~ "^.*\.([Hh][Tt][Aa])">
     order allow,deny
     deny from all
    </Files>
    
    Options -Indexes
  • The topic ‘Hiding files in my wordpress root’ is closed to new replies.