Forum Moderators: phranque
Here is what is happening:
oldurl.com/directory/ -301-> newurl.com/directory/ (404 returned)
Our new website does not have some of the directories that the old website did so it returns the 404 page.
What is the best way to get those old urls taken out of the search engines?
You need to return a 404 (not found) or 410 (gone) for oldurl.com/directory/. Why are you redirecting these URLs if they don't exist?
If there is a 301 redirect from one URL to another, and the final URL does return a 404, then Google will eventually "get the message".
It's no big deal - as long as there is not a 302 redirect in there.
If you add an exclusion for the redirect, that will fix the problem quicker, but will be harder to maintain in the long run.
[edited by: g1smd at 10:10 pm (utc) on April 9, 2008]
More questions, I'm afraid. How many URLs are involved? Is there a pattern shared by those URLs that still exist or those that don't? Why are these URLs unavailable?
Added: To second g1smd, it's unlikely to cause any search engine problems, unless on a large scale. But URL housekeeping is good ;)
[edited by: Receptional_Andy at 10:11 pm (utc) on April 9, 2008]
Andy - it is only 5 urls, that i know of, and they have nothing in common except the domain. With that few it is not too hard. They are unavailable because we no longer have those topics.
The reason we are trying to figure this out is because we are working with an SEO company and they say this, along with a few other little things, is why we are not getting good rankings in the search engines.
The reason we are trying to figure this out is because we are working with an SEO company and they say this, along with a few other little things, is why we are not getting good rankings in the search engines.
Hopefully they have given you some idea of what the likely results/impact of this (and other) changes might be. I think it's worth fixing, but frankly, it isn't going to improve your search engine performance if there are only five URLs.
I wouldn't judge a company based on a snippet in a forum post, but I'd expect that if your search engine performance is poor, technical fixes would be a small part of the SEO process (unless there are large-scale problems).