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.
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.
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…
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.