Welcome to WebmasterWorld Guest from 54.146.211.105

Forum Moderators: mack

Message Too Old, No Replies

Want to create a permission so hidden links cannot be inserted

     
1:46 pm on Nov 1, 2009 (gmt 0)

Full Member

5+ Year Member

joined:June 5, 2009
posts:252
votes: 1


I have this site where I get hidden spam links at the bottom of each page (I can see it when I view the source code). Its the same on each page and I can remove it by logging into the cPanal and entering the index.php where the links are located right at the bottom.

The site is on Wordpress. Does anyone know how I can put permission to block this from happening? I am sure the loophole they are managing to exploit is via the comments section.

I will update to the newest Wordpress as my current one is several versions old, however, in the meantime can I put permission in the index.php file that would stop these links appearing?

Thanks

5:03 am on Nov 5, 2009 (gmt 0)

Moderator This Forum from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7583
votes: 11


Your safest option is to upgrade to the newest version, and upgrade when ever a new version becomes available. Regarding setting permisions, is it not a case of the content being read from the database, as opposed to the footer being writen to?

Mack.

9:44 pm on Nov 12, 2009 (gmt 0)

Full Member

5+ Year Member

joined:June 5, 2009
posts:252
votes: 1


Upgraded to the latest version of Wordpress several days ago and yet everyday I get links appearing once a day and in some cases twice. I then log into the cpanel and remove it from index.php.

I think I will let my host know about it.

12:20 am on Nov 13, 2009 (gmt 0)

Moderator This Forum from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7583
votes: 11


Why are you using cpanel to administer Wordpress? Are you talking about its file browser or something different?

It may be your host thats infected?

Mack.