i own domain.com
when you search for my site, google returns this:
domain.com/test/blahblahblah
See how it’s in a test folder? That was just something for testing purposes. How do I get rid of it so it stops appearing on google? It’s just a 404 error page now anyway.
If there’s no way, should I just make it a redirect to my homepage?
301 redirect the page to your homepage.. pretty sure google starts ignoring redirects? (I could be wrong, just something I saw somewhere)
several ways:
you can restrict access to that directory via htaccess
or simply create a robots.txt for that directory not allowing the search engines to crawl off and it will eventually come off. search google for robots.txt
imo, keep the ranking and just add a redirect
several ways:
you can restrict access to that directory via htaccess or simply create a robots.txt for that directory not allowing the search engines to crawl off and it will eventually come off. search google for robots.txt |
This