I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner.
The offending pages are in the style
Although there doesn't seem to be any links on the web (who knows what the previous owner did) I want these to point to my homepage.
I've tried redirecting using..
redirect 301 /catalog/ http://mysite.com/
but I end up with a redirect to my homepage with an URL in the address bar of...
How do I get it to just redirect to my homepage and show URL mysite.com in the address bar with no gubbings on the end?
I am on an Apache server with PHP 5