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
-
Duplicated page titles
Dear friends, We have a problem which occurs on our page with duplicated page titles. Landlords are posting rooms on our page and most of them are giving the same name to the rooms and after that, we are getting more and more duplicated page titles. We are applying random whit this title tag: Accommodation for students in {city.name}: {name}. English title
On-Page Optimization | | Eurasmus.com
Certified student rooms in {city.name}: {name} English title
Erasmus room for students in {city.name} | {name} English title
Student room in {city.name}: {name} English title Also our title tag is sometimes to long but there is no possibility to make them shorter. I think. If anyone would have some idea be free to comment and help us. Kind regards Miško Macolić Tomičić0 -
What is the Impact of Canonical to a Canonical Page?
hey folks, How does google respond to this, canonical to a canonical page? i.e page A is canonical to Page which is already/also canonical to PAGE C. Thanks In advance AK
On-Page Optimization | | AnkammaRao0 -
What kind of pages are they?
Hi all, after making an analysis of my website the tool has found two pages that I don't know what refers to: /?page id=2058 (only one page of this kind) /?attachment id= (only one page of this kind) does anyone know what kind of pages they could be? Do the have relevancy regading SEO? The plattform is Wordpress. Thanks!
On-Page Optimization | | juanmiguelcr0 -
Conflicting Canonical Tag in On-Page Report
I'm going through my site with the "One-Page report card for some PPC landing pages. If I have this canonical tag on my page : I get a Fail in the "Critical Factors Section here: Appropriate Use of Rel Canonical but a Pass in the Optional Factors here: Canonical URL Tag Usage If I take the canonical link out, the opposite happens, what am I missing? Is the format wrong? Thanks Michael
On-Page Optimization | | mjrinvent0 -
Exstinguishing Page Rank?
Hi Guys, Here is a thought. Google gives more weight to links in content, less to navigation etc.. Therefore if they say give 50% of a pages rank to a link within content and 50% to the the other elements. What happens to the total pagerank from a page if you have not utilized in page content links? (is it lost) If this is the case, and you have a site that does not use content links on every page, are you loosing value (and hard earned) pagerank. Google did mention sometime back about pagerank being exstinguished with the nofollow tag. I would be interested to hear what others think? Cheers Scott
On-Page Optimization | | Jurnii0 -
My website is saying I have duplicate page content and page title. How do I fix it?
Hi, I created a website on webstarts.com. After I launched it then ran a scan through SEO it says I have duplicate page content and page title. The 2 pages it is reading are technically the same page. www.mobilemowermedicsinc.com and www.mobilemowermedicsinc.com/index . I am unsure how to get rid of on of these as it keeps saying this is an error in the SEO scan. Could someone please advise me of what to do from here. Thanks!
On-Page Optimization | | bcarp880 -
Canonical tag help
Hi, We have a product which is marketed by affiliates . Affiliates send referrals to our sale page by adding their affiliate IDs to our product page like http://www.mysite.com/products.php?ref= 12345. We want to avoid the content duplication impression to Google by using canonical tags but we are not clear about its use. Should we use it on http://www.mysite.com/products.php ( actual page) or we should create temporary pages for each referral id i.e http://www.mysite.com/products.php?ref= 12345 and then add canonical tags to all those pages linking to proper page i.e http://www.mysite.com/products.php ? Thanks, shaz
On-Page Optimization | | shaz_lhr0 -
On Page Optimization Reports
How is it determined which terms and associated urls are chosen when SEOmoz tracks your On-Page Report Card? I'm receiving a lot of F Grades for terms I'm not really interested in and a lot of terms I'd like to be tracked aren't. Is there a way I can manually choose which terms and pages I'd like to be shown?
On-Page Optimization | | ClaytonKendall0