• Resolved lagi

    (@lagi)


    Blog working perfectly. Then one day index.php is gone from the root folder. One of my readers informs me via email. Since index.php is gone and everything else still there, visitors see instead a listing of directories and files.
    I’ve restored a standard index.php file and it is back to functioning perfectly now.
    But what do I do to keep this from ever happening again? Have I been hacked? Has this happened to any other WP people out there?
    I had not been FTPing or messing with the files for quite a while before this happened.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Since you think it was hacked I suggest you refer to this : https://codex.www.ads-software.com/FAQ_My_site_was_hacked

    This plugin is quite good for checking your site www.ads-software.com/extend/plugins/wp-security-scan/

    Thread Starter lagi

    (@lagi)

    Thank you randinicole. That is an excellent FAQ!

    Could my problem have anything to do with .htaccess that contains the following?:
    ———————————–
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blagi/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blagi/index.php [L]
    </IfModule>

    # END WordPress
    ————————————

    Getting rid of .htaccess seems fine – set permalink structure to default. Any thoughts?

    Thread Starter lagi

    (@lagi)

    Thanks huntz.

    I also realize that the .htaccess file I had in there is harmless and autogenerated by WP when I switched from default permalink settings. So nevermind that last question.

    It is just weird that the ONLY thing that would be changed is that the index.php file was missing. Why would someone with access to my account do that when they could do so much more? A polite warning hack??

    I will be heightening security and changing passwords…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘index.php disappeared mysteriously’ is closed to new replies.