We have a situation where a site was hacked. The hackers placed a file that creates pages such as /example
The site is running joomla 1.5 so it has security holes you could drive an aircraft carrier through. THey are in the process of a redesign but that isn't happening quickly enough. My immediate goal is to stop this hack.
Right now they are showing in the search engines for the products the hackers are pushing. ie if you search for sitename example, you see them listed in google pointing to www.example.com/example.
My thought was to do a 301 redirect of www.example.com/example for each item to www.example.com.
However, I would think that would be bad for SEO. What would be the best way to do this? I'm going to do some research to see if there is something like a 404 redirect or some way to 301 without 'endorsing' the link.
thanks
chris