WordPress.org

Ready to get started?Download WordPress

Forums

Footer Links Hack? (7 posts)

  1. websynn
    Member
    Posted 4 years ago #

    Guys,

    I keep getting my footer.php file compromised, and I'm unsure what to do. I have searched around but found nothing like this.

    Basically they are editing my footer.php file adding a no dispay DIV, and adding in a hundred spam links.

    I have the latest version of WordPress, and am really worried.

    Thanks for any advice... thanks!

  2. figaro
    Member
    Posted 4 years ago #

    They could be getting in lots of different ways, but to start, check your file and directory permissions...generally, your files should be 644 and directories 755 -- depending on your server.

  3. websynn
    Member
    Posted 4 years ago #

    That's how it's set...

    Any other ideas?

  4. iridiax
    Member
    Posted 4 years ago #

  5. jcdesign
    Member
    Posted 4 years ago #

    I'm seeing this as well, but I just noticed that links are actually being added below the footer. There are no spammy links in my theme's footer.php or index.php files, and everything is happening below the closing html tag.

    This is in a WP 2.5.1 blog. (yes, I know, I need to upgrade. the site in question is under development, and the current install will be wiped clean)

    Still trying to figure out where the spammy links are getting added to the output.

  6. jcdesign
    Member
    Posted 4 years ago #

    Update: In my case, the spammy links were inserted into index.php itself - the MAIN index.php.

    So my page looked like this:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>
    <u style=display:none>
    [ a ton of spammy links ]
    </u>

    Hope this helps someone else track this down. I'll have to look at permissions, etc., to make sure this doesn't happen again...

  7. kensongoo
    Member
    Posted 4 years ago #

    Hi all,

    After getting sicked of so called free WordPress themes with bunch of encrypted spammy links, I decided to spend a couple of days to set up cleanWPtheme.com. I decrypted all footer links of WordPress themes and share them at the site. Hopefully, you will like it too. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.