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
-
Google Search Console issue: "This is how Googlebot saw the page" showing part of page being covered up
Hi everyone! Kind of a weird question here but I'll ask and see if anyone else has seen this: In Google Search Console when I do a fetch and render request for a specific site, the fetch and blocked resources all look A-OK. However, in the render, there's a large grey box (background of navigation) that covers up a significant amount of what is on the page. Attaching a screenshot. You can see the text start peeking out below (had to trim for confidentiality reasons). But behind that block of grey IS text. And text that apparently in the fetch part Googlebot does see and can crawl. My question: is this an issue? Should I be concerned about this visual look? Or no? Never have experienced an issue like that. I will say - trying to make a play at a featured snippet and can't seem to have Google display this page's information, despite it being the first result and the query showing a featured snippet of a result #4. I know that it isn't guaranteed for the #1 result but wonder if this has anything to do with why it isn't showing one. VmIqgFB.png
On-Page Optimization | | ChristianMKG0 -
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 -
Too Many On-Page Links
Hi, I did a SEOmoz campaign and got results today, One of the results is Too "Many On-Page Links" when i am drilling down, i see that that's include inside links. for example, i sale food, i have my main department window - inside i have 30 products - each product is linked to a detailed page about the product. so automatically i have 30 links - not including all the others in this page, and i easily get over 100 and even sometimes 200 is this a big issue? does it damages my SEO? If yes, is there a way to write the HTML in a way that internal links like that wont be counted? Thank you SEOWiseUs
On-Page Optimization | | iivgi0 -
Which Meta Tags would you recommend having on the pages?
Hello, There are so many different meta tags which you can implement to the header of your website and I'm wanting to get people's opinions on which you feel are worth putting in and which are completely pointless? For example: Author Copyright Language Content-Type Content-Language Distribution Abstract Keywords Description Classification Canonical Expires Revisit-after Rating I look forward to hearing your comments and suggestions. Kind Regards, Shaun Swales Twitter: Https://www.twitter.com/CryptCommerce
On-Page Optimization | | ShaunSwales0 -
On-page SEO reviews
Hi everyone 🙂 I was hoping someone could point me in a direction on where I could get my website's on-page SEO a review with recommendations. Title tags, meta description, code, H1s, content and so on... I know you can find most of what I'm asking online, but I would like a professional with a new set of eyes to help out. Thanks in advance for your time in helping!
On-Page Optimization | | AutoGlassRescue0 -
Best practice for Meta-Robots tag in categories and author pages?
For some of our site we use Wordpress, which we really like working with. The question I have is for the categories and authors pages (and similiar pages), i.e. the one looking: http://www.domain.com/authors/. Should you or should you not use follow, noindex for meta-robots? We have a lot of categories/tags/authors which generates a lot of pages. I'm a bit worried that google won't like this and leaning towards adding the follow, noindex. But the more I read about it, the more I see people disagree. What does the community of Seomoz think?
On-Page Optimization | | Lobtec0 -
Alt tagging photos.
Here is the background. My wife has a website selling childrens clothing. All the basics of this webshop is through a company that have some 300 other sites. 2-4 times a year arond 100 products have to be added to the shop. Pictures are of course highly important. Some pictures are supplied by producer of clothes some we have to take ourself. Pictures supplied by producer is not tagged. When we are adding a product; avail sizes,prices, product description, which folder it is to be shown in etc is added. Pictures are added but there is no functionality for adding alt tag to the pictures. Is there any way i can incorporate the tag into the picture file eg .jpg before its added here or is it impossible is this impossible ? Thanks for all help. Dan
On-Page Optimization | | danlae0