• Dear all,

    I noticed that one of my websites suddenly stopped working. I tried to debug it and modified index.php file adding some echo line there. After refreshing the website in my browser index.pgp was reverted back to the original:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

    .htaccess file is being reverted in the same way. Does it mean that my website was hacked?

    Best regards,
    Gandalf

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi Gandalf!

    Are you using any security plugins? Have you tried deactivating all your plugins to see if this clears things up?

    Thread Starter rkoziol7

    (@rkoziol7)

    Dear Jose,

    I use BPS Security plugin. I could not deactivate this plugin with a frontend because the website did not work (blank document appeared when gets admin or standard frontend).

    I overrode all the code and DB contents with a version taken from an older backup and now everything is working properly. However I am a bit scared. Maybe the right option will be to delete all my server’s data and install everything from the scratch.

    Thanks for your help Jose!
    Best Regards,
    Gandalf

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘index.php reverts back to original’ is closed to new replies.