A site with www.site.com (make with php)works normally but without www "site.com" has been hacked. How can I clean injection? Thanks

  • You should be more specific about your server, etc
    – user34771
    Commented May 24, 2010 at 21:50
  • is it a php-nuke site?
    – Rook
    Commented May 24, 2010 at 22:35

2 Answers 2


www.site.com and site.com are different domain names. Usually they point to the same site, but that's not necessarily the case.

  • Yep, he certainly has a weird DNS configuration for this to happen.
    – Anonymous
    Commented May 24, 2010 at 21:52
  • @nc3b How can solve this problem?
    – Felicita
    Commented May 24, 2010 at 21:52

The www (world wide web) has nothing to do with it, it seems that at your side, there is url rewriting in place or some server settings in place disallowing you to use www part there by giving the message hacked. Please add more details so that we can answer better.