I have one website, which is developed in php. In this website, we use admin section to update website content and header files...........but it got infected some kind of WS virus........it generate...........www.xyz.com/ws/abc.php kind urls........these urls are cached in google and looking like website pages. But there are no page in hosting. do you have any solution for this. Please let me know to remove it. thanks in advance
What makes you think its a virus? 90% of the time its faulty setup, problem in your programming, the way you setup your content management system, or the .htaccess file has rewrite rules in it that are incorrect. Also, how do you know if those pages actually did exist before and were accidentally crawled? You cannot get rid of pages in Google. You can only tell them it no longer exists or has been moved to a different, unique URL location. In most cases, you can do a 301 redirect to the new, correct URL signature via .htaccess and mod_rewrite.
To point something out, you can put in a request to google under a domains webmaster tools to remove content from their listings however it can take from a week to a month before they get to your request.
Also check your .htaccess file if there are any rewrite rules set that were not setup by you. If there are any unnecessary rules, then your website might have compromised.
As others have said, it could well be .htaccess, but I would certainly turn that server inside out because it looks like things got hacked. Check /tmp, /root, /var/log/messages, last -a, history, ... If hacked, do reinstall the OS. Carl