Forums

[resolved] Reported Attack Site (5 posts)

  1. speedrider
    Member
    Posted 8 months ago #

    Hi,

    This is originated from this topic:
    http://wordpress.org/support/topic/my-fronpage-is-not-lodaing?replies=2#post-2294169
    and
    http://wordpress.org/support/topic/site-hacked-newportalsecom?replies=32

    Yesterday, I've make my decision to install a new fresh installation WordPress at http://www.speedrider.org/taikotai.
    The original blog was at http://www.speedrider.org/blog.

    1. After a fresh installation, it works as it should be.
    2. Trying to pinpoint the wp-config.php at root/taikotai to the original database
    3. Copy this from root/blog:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', '***_***');
    
    /** MySQL database username */
    define('DB_USER', '****_****');
    
    /** MySQL database password */
    define('DB_PASSWORD', '********');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    into the new wp-config.php file at root/taikotai

    4. but it seems it didn't working.

    Any ideas to help me sort this problem out?

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    If you changed the physical location of the folder, remember that you have to ALSO change the URLs in your blog.

    I would just rename the blog folder to 'blog-old' and then name taikotai to 'blog'.

  3. speedrider
    Member
    Posted 8 months ago #

  4. speedrider
    Member
    Posted 8 months ago #

    Hi

    After following Ipstenu advice and sucuri site check, I've done another thing.

    REPLACING .htaccess with the default content from wordpress:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    After that, I manage to go inta the admin page:

    1. I've deleted The Morning After theme
    2. Use default wordpress theme
    3. Request a site review via Google Webmaster Tools.

    Now, my site is up again, after one month down (hahahaha).

    If there any extra precaution to be done, please advice me.
    Thanks ipstenu!

  5. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Sorry, two days of little sleep caught up with me and I was out on the couch last night :)

    Yes, replacing the htaccess was the right thing to do! You had the WP stuff in there twice, plus some odd blogger redirect.

Reply

You must log in to post.

About this Topic

Tags