What are the best ways to fix 404 errors?
-
I recently changed the url of my main blog and now have about 100 404 errors. I did a redirect from the old url to the new one however still have errors.
1. Should I do a 301 redirect from each old blog post url to the new blog post url?
2. Should I just delete the old blog post (url) and rewrite the blog post?
I"m not concerned about links to the old posts as a lot of them do not have many links.
-
Thanks Andy. I made this change........domain.com/blue-blog to domain.com/blog using a rewriterule. It seemed to work.
-
I did change the structure domain.com/blue-blog to domain.com/blog. So I did a rewrite rule in the .htaccess file. That fixed a lot of things however there are still 100 or so 404's. They are old blog posts and not really that important.
-
As tom says 404 errors are not the end of the world.
if you are concerned then as long as the relative urls have remained the same and the root directory is all that has changes a 301 in bulk should work, though if you've changed categories or something it may not work so well as a single entity and 100 would be the way to go.
Something that you should do, if you've not already, is within webmaster tools make sure you tell Google you've changed your url (configuration > change address) - it also has a mini guide on the steps you should be taking, including to register your new domain on webmaster tools.
But again, as tom says, if it's not destroying the user experience and isn't a huge annoyance for visitors don't worry too much about it.
--
Just for your reference a full url redirect (aka changing say abc.com to abc.net - moving all directories and urls in one go) would look like
RedirectMatch 301 ^(.*)$ http://www.abc.net
-
Are we talking about a structural change (i.e. domain.com/blog to domain.com/myblog) or a TLD change (domain.com to domain2.com)? If you kept the same blog structure otherwise, I would write a .htaccess file to make sure you just blanket redirect all URLs. It's easy to do that way but not everyone has access to that.
I recommend 301s just because they avoid the sloppiness problem. I mean, you wrote the content for people to find, right? If they hit a 404 it just frustrates them. It doesn't matter whether or not you need the SEO, I like it when a 301 takes me where I really need to go. it shows someone cared enough to make sure I could get to what they had done. It's a pride of authorship thing.
-
Hi Nathan
If you're not concerned about passing the links/link equity of the old posts to a new page, or if you don't think there are any users visiting the URL directly, then I would simply leave the page as a 404 error.
404s are a natural part of the course and Google recognises this - check out this webmaster blog post. 100 404s isn't an awful lot, so I wouldn't worry about them unless they're interrupting a user journey (which you'll be able to check in analytics).
If you really want to get rid of them, then a 301 would be the way to go in my opinion. 100 301s will not slow down your .htaccess file by any noticeable margin. But overall, I'd let the 404s be 404s.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
My last site crawl shows over 700 404 errors all with void(0 added to the ends of my posts/pages.
Hello, My last site crawl shows over 700 404 errors all with void(0 added to the ends of my posts/pages. I have contacted my theme company but not sure what could have done this. Any ideas? The original posts/pages are still correct and working it just looks like it did duplicates and added void(0 to the end of each post/page. Questions: There is no way to undo this correct? Do I have to do a redirect on each of these? Will this hurt my rankings and domain authority? Any suggestions would be appreciated. Thanks, Wade
Intermediate & Advanced SEO | | neverenoughmusic.com0 -
Best Practices for Homepage Title Tag
Hi, I would like to know if there is any update about the best practices for the homepage title tag. I mean, a couple of years ago, it was still working placing main keywords in the homepage title tag. But since the last google SERP update, the number of characters that are being shown were reduced, and now we try to work with 55 and 56 characters. That has reduced our capacity of including many keywords on the title tag. Besides, search engines are smarter now to choose the correct inner page to show in SERP. But I am wondering if the Homepage Title should have a branded orientation or should include main keywords, cause it is still working that strategy. I would appreciatte any update in this issue. Thank you!
Intermediate & Advanced SEO | | teconsite0 -
Delay release of content or fix after release
I am in the midst of moving my site to a new platform. As part of that I am reviewing each and every article for SEO - titles, URLs, content, formatting/structure, etc, etc. I have about 200 articles to move across and my eventual plan is to look at each article and update for these factors. I have all the old content moved across to the new server as-is (the old server is still the one to which my domain's DNS records point). At a high level I have two choice: Point DNS to the new server, which will expose the same content (which isn't particularly SEO-friendly) and then work through each article, fixing the various elements to make them more user friendly. Go through each article, fixing content, structure, etc and THEN update DNS to point to the new server. Obviously the second option adds time before I can switch across. I'd estimate it will take me a few weeks to get through the articles. Option 1 allows me to switch pretty soon and then start going through the articles and updating them. An important point here is the new articles already have new (SEO-friendly) URLs and titles on the new server. I have 301 redirections in place pointing from the old to new URLs. So, it's "only" the content of each article that will be changing on the new server, rather than the URLs, etc. So, I'd be interested in any suggestions on the best approach - move across to the new server now and then fix content or wait till all the content is done and then switch to the new server. Thanks. Mark
Intermediate & Advanced SEO | | MarkWill0 -
Static looking URL - Best practices?
We are about to modify the structure of our dynamic URLs and I wonder what the latest and greatest is in terms of SEO-friendly dynamic URLs. Our thinking so far is to do something like: www.domain.com/products/state/city/first-search-parameter+second-parameter+third-parameter+any-additional-keywords that is, using + to separate search parameters and hyphens to separate words An example might be www.homes.com/listings/ca/san-francisco/single-family-home+3-bedrooms+2-bathrooms+swimming-pool-garden-wood-exterior I'm not an SEO expert so any help would be appreciated Thanks
Intermediate & Advanced SEO | | lln220 -
Pages Returning A 403 Error
Hiya Moz Community I hope you are all great, I have a question regarding one of my websites, I have the main site and 2 sub folder sites essentially, I decided to upgrade one of the sites and placed it in a different sub folder, I then set up a 301 redirect to the new location, so far so good, I have been having a look at my link profile using AHrefs, inside there is an SEO report facility, I ran the report and I have over 500 pages returning a 403 or Forbidden error. my question is whether the Equity from those pages is being passed to the new site? I actually removed all the old site from Google Cache to avoid misleading visitors, I suppose I could set the re-directs up manually if I the equity is not being passed to the new site although I was under the impression it would be, or 85% - 90% of it would be anyway. The reason why I am asking is that I have seen a significant drop in rankings for keywords that my site has always ranked highly for. thought I would see if you guys can clear that up for me. Thanks and regards Wes Dunn
Intermediate & Advanced SEO | | wesdunn19770 -
How Should We Best List Events Pages?
Hi everyone! Luke here from CHARGED.fm hoping that a brilliant mind could help me with another annoying (at least for me) technical seo question. It's about how we list the events on our ticketing site. Here's the rundown: We currently list tickets by event id, but our competitors keep the event page in the same silo and use the venue name and date of event in the url. So we do this: http://www.charged.fm/kinky-boots-tickets (disregard redirect for now) List the events where you can choose from these: http://www.charged.fm/event/tickets/2518362/kinky-boots
Intermediate & Advanced SEO | | keL.A.xT.o
http://www.charged.fm/event/tickets/2511448/kinky-boots Moz lists these as duplicate content, so we're wondering how to resolve this. We're also wondering if it would be benficial to keep the events page in the same silo like our competitors: http://www.vividseats.com/theatre/kinky-boots-tickets/kinky-boots-9-20-1537274.html (notice how they go /theatre/kinky-boots-tickets/event/) Would it be beneficial to list like this? Is it inconsequential? Could we leave things the way that they are or should we at least add the venue and date to the events page URL? Thanks a lot for any help,
Luke0 -
Panda Recovery - What is the best way to shrink your index and make Google aware?
We have been hit significantly with Panda and assume that our large index with some pages holding thin/duplicate content being the reason. We have reduced our index size by 95% and have done significant content development on the remaining 5% pages. For the old, removed pages, we have installed 410 responses (Page does not exist any longer) and made sure that they are removed from the sitempa submitted to Google; however after over a month we still see Google spider returning to the same pages and the webmaster tools shows no indicator that Google is shrinking our index size. Are there more effective and automated ways to make Google aware of a smaller index size in hope of Panda recovery? Potentially using the robots.txt file, GWT URL removal tool etc? Thanks /sp80
Intermediate & Advanced SEO | | sp800 -
Fixing the NAP Interim Idea?
I am realizing that most directory and listings have our old phone number down for our website. And am working on fixing them all. In the interim would it be wise to go ahead and list the old number somewhere on the site (like below the old one on the contact page) or would that create more strings to cut later?
Intermediate & Advanced SEO | | greenhornet770