Canonical Tag for a 404 page
-
Hi
i have a got a 404 page for example : www.example.com/404.aspx
can i use canonical tag on this page
so that when the search engine hits the page www.example.com/123123123 13123
it will say
Will this be right method ?
-
The two most important points expressed in this thread of comments are:
- There is a reason for 404s, don't 301 everything
- There is no reason to lose the value of someone linking to your page.
If those 2 statements are true then you should create an individual error page, and then everytime you serve a 404 you should include canonical to that error page. That page should have useful content (explanation of page missing and where you could go), probably a search box, and links to the most valuable content on your site. This satisfies both points.
-
The meta redirect tag will keep the link juice on the 404 handler page and not pass the page rank on to the home page. Something you may want to consider if you have a lot of 404's.
-
Thanks for your reply,
I have already setted up that and in fact i read something over here...
http://googlewebmastercentral.blogspot.com/2008/08/now-that-weve-bid-farewell-to-soft-404s.html
We feel this technique is fine because it reduces confusion by giving users 10 seconds to make a new selection, only offering the homepage after 10 seconds without the user's input.
But my question is sometimes you can't control how other people linked to you and they link back to us with a url that does not exist. And in googlewebmaster control panel we get an error for the saying Duplicate title - 404 Page Not Found.
For that if i use it should be ok or not
-
If you love writing code, read on
I like setting my 404 pages to evaluate the incoming URL (the one that failed) and trying to redirect the user to the proper page while 301ing the hand off. If you cannot evaluate the page to a good page, then 301 to the home page. If you can only evaluate to a category level (storefront type site), then 301 them to the category level.
It takes some fiddling around with the code and lookups to the database, but you get a much better experience for the user.
-
You could but, you would be better creating a search page so 404's go to www.example.com/search.aspx so users can search for the content they were actually looking for in the first place. Ideally all your pages should have the canonical in the head to ensure trailing / or capitalization errors all pass juice to the correct page and do not get reported as duplicates.
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
-
Nofollow Meta Tag
Hello, I'm new to this forum so please forgive if this has been discussed before. I have a question about the nofollow meta tag being used at the page level. We have external links within our website's guest blog pages that we do not want followed. I would use a nofollow rel attribute on the link itself, but since we allow the blog to be posted using a wysiwyg-type text editor, that proves to be a little difficult to enforce. I was thinking about using the nofollow meta tag at the page level to handle this, but was a little unsure on how that may affect our own links...such as menu and side-bar links...that are on those pages. I'm not too concerned about those internal links not being followed on those particular blog pages, but I wanted to make sure a nofollow for a link on one page won't have any negative side effects on those same menu links that appear on various other pages without the nofollow meta tag. Would there be any negative side effects to using the nofollow meta tag like that? Thanks in advance for any insight. Best Regards, Ken
On-Page Optimization | | kens1090 -
Changing a page url
I have a page that ranks well (#4) for a good keyword. However, the url has the keyword in it but is misspelled. I would like to change the url to have the correct spelling but do not want to lose the ranking that I have. What is the best and safest way to proceed?
On-Page Optimization | | bhsiao0 -
Page Title in Local SEO Title Tags?
Hi All, Still working on my title tag usage for local SEO, and I was hoping for some more feedback. My question is this: In Local SEO titles, I'm using location + keyword combinations, unique on each page. However, since each page has a specific title for the client, I figure I should be placing that at the front. My thought here was that this helps with the overall usability to the reader of the website. Ex. Contact Us page for Pizza shop Contact Us | Springfield IN Gourmet Pizza | Moe's Italian Pizza Anyone have thoughts on this one? Thank you!
On-Page Optimization | | kbaltzell0 -
Can't canonical, but need pages to show in Google News
We are a news media site in which much of our content is third-party, and already published by several other sources. Our current version of our CMS doesn't expose head tags, so I can't canonical to the original and avoid a duplicate content penalty. Is it ok for news sites NOT to use canonical, or do I have to NOINDEX until our CMS is fixed?
On-Page Optimization | | Aggie0 -
Duplicate page
Just getting started and had a question regarding one of the reports. It is telling me that I have duplicate pages but I'm not sure how to resolve that.
On-Page Optimization | | KeylimeSocial0 -
Faq page
We are redoing our faq page and we were trying to decide on the best format. 1. Create each question on a separate page 2. Create one page with all the question and have the questions expand 3. Create different faq category pages (like 4) and divide the questions between them From my perspective #1 seems the best ---. you can create hyper relevant content for the user and optimize each question really well Any experience with this?
On-Page Optimization | | Morris770 -
Canonical issue
Hi, Very new to seomoz but very impressed. First report has shown me that I have duplicate pages. Some seem to be duplicate titles and some were duplicates of pages i found on the server. however the main problem is it seems to be picking up pages with www and without it which I have a vague idea is a canonical issue. so it throws up pages like this: http://web-writer-articles.co.uk and http://www.web-writer-articles.co.uk I want it just to pick up pages with www Firstly should it be picking up both and if not how can I make amendments so that it is only picking up pages which include www ? thank you for your help, louandel15
On-Page Optimization | | louandel150 -
Title tag for category page
I'd like to know your views on the best approach for title tags for category pages for ecommerce sites. 3 examples A) Category name | Free delivery on $50 purchase | Brand name B) Discover best "category name" on brand name C) Category Name | 1st Keyword, 2nd keyword | Brand name Thanks!
On-Page Optimization | | walidalsaqqaf0