homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

How to deal with hacked pages
hacked pages return a 404 is this correct?

Msg#: 4257210 posted 9:59 am on Jan 24, 2011 (gmt 0)


I run a medium size commercial website on Joomla, a couple of months ago the site was hacked we think by sql injection. We deleted files restored backups, updated all extensions and changed passwords. Now we have a couple of thousand random pages about viagra in google, the page returns a 404 code, but I need to know if the 404 is correct?
Will google and other S/E just drop spidering or do the pages need to return a 410 code?

If so how to I make these pages a 410

thanks for any help



WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4257210 posted 10:10 am on Jan 24, 2011 (gmt 0)

Hi ecochild, first of all Welcome to WebmasterWorld!

Yes, returning a 404 is OK, Google and other search engines should interpret that correctly. If there are no links to those pages it may take a while before the search engines have found all those return codes, because spidering frequency is often a function of the popularity of a page. To speed things up in Google, you can go to Webmaster Tools and mark those specific URLs for deletion from the index.


Msg#: 4257210 posted 10:52 am on Jan 24, 2011 (gmt 0)

Hi Iammert,

Thank you for the swift reply and it's reassuring that we are doing things right. I had started removal on wmt but with a couple of thousand it was a bit daunting... maybe I will do a few a day!

cheers for the help


Msg#: 4257210 posted 12:05 pm on Jan 24, 2011 (gmt 0)

Prevention is better than cure. So preventing your website is an smart option. Prevention tips include keeping your site updated with the latest software and patches, creating an account with Google Webmaster Tools to see what's being indexed, keeping tabs on your log files to make sure nothing fishy's going on, etc.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved