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
-
When making content pages to a specific page; should you index it straight away in GSC or let Google crawl it naturally?
When making content pages to a specific page; should you index it straight away in GSC or let Google crawl it naturally?
On-Page Optimization | | Jacksons_Fencing0 -
The Keyword density in a landing page is very low . by adding meta keyword tag can improve keyword density?
The Keyword density in a landing page is very low . by adding meta keyword tag can improve keyword density?
On-Page Optimization | | socialhi50 -
Rel canonical tag on a single page site?
I have a wordpress theme site which essentially is all in 1 page. Do I need to use rel-canonical tag? It would just loop?
On-Page Optimization | | graftene0 -
Title tag of product page including category keyword?
I'm doing some work on a site that essentially is about giving and getting reviews. It's heirarchy has categories and products within those categories. For the title tag of the product pages, they currently have "Best {Category} | {Product} Reviews" I've advised them that they should remove the "Best {Category}" part because a) they're already targeting the category pages themselves and b) from a user perspective, the product page should just have a title tag that makes sense for that particular page (the page is not necessarily the "best" and certainly is not a series of products within that category). I wanted to post here to confirm that my advice is sound. Thanks.
On-Page Optimization | | jim_shook0 -
Title Tag To Long
In the initial review of my site, I have 38 warnings of title tags to long. It also says these warnings are often penalized by search engines. In Google webmaster tools, It says I have no problems with long title tags. So am I getting penalized and do I need to shorten them? I would already have shortened them but in the past, everytime I have changed my title tag I have been penalized by the search engines. I usually get my rankings back but it can take up to a month and a half to get back to where I was.
On-Page Optimization | | tkobrien0 -
Can I use the first sentence of my page content as a meta description tag as well?
I just want to copy my content on the page and use the first or as well the second sentence of the content self for my meta description tag. Is that OK? Or should the Meta description tag be different?
On-Page Optimization | | paulinap19830 -
Product Page Optimization
I work for an ecommerce site and we are currently in the process of redesigning our product page. Any useful, must-do tips for this? If it helps, our site has both hard goods and apparel that can be imprinted and customized to the buyers liking. Thanks for any help!
On-Page Optimization | | ClaytonKendall1 -
Page Rank Drop
Just trying to get more feedback - so we recently edited title and meta descriptions for existing website SEO and we've noticed in the past several weeks, our client's website has dropped out of the top 50 in a variety of terms we were targeting that they used to show up for (note: when updating SEO, we DID NOT remove any relevant terms we were targeting). When the website does come up in searches, it is the old meta description and title. So far, the feedback we've gotten is that first, it takes Google a few weeks to recrawl and index - however, we are now on week 3 after the changes and still no rebound in rankings. We were also told to check with the SEO Moz page grader to be sure the keywords were being optimized correctly - got As and Bs for the test terms I tried. We also submitted an XML site map to speed up the crawl process as another user suggested. We've tested the site with various tools to make sure there are redirect errors, etc. and everything looks fine. Again, it's now been 3+ weeks and no ranking rebound. Any other suggestions on what could be happening?
On-Page Optimization | | laidlawseo0