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
-
Should I optimize my home-page or a sub-page for my most important keyword
Quick question: When choosing the most important keyword set that I would like to rank for, would I be better off optimizing my homepage, or a sub page for this keyword. My thinking goes as follows: The homepage (IE www.mysite.com) naturally has more backlinks and thus a better Google Page Rank. However, there are certain things I could do to a subpage (IE www.mysite.com/green-widgets-los-angeles ) that I wouldn't want to do to the homepage, which might be more "optimal" overall. Option C, I suppose, would be to optimize both the homepage, and a single sub-page, which is seeming like a pretty good solution, but I have been told that having multiple pages optimized for the same keywords might "confuse" search engines. Would love any insight on this!
On-Page Optimization | | Jacob_A2 -
Optimizing pages for keywords
I have a couple of websites for retailing the western chaps manufactured by my company. I have recently tried to increase my learning for SEO since one of my main sites (started in 2006) just lost about 45% of it's organic search volume since the end of May. It seems my search to learn just creates more and more questions. I have been using google adwords for several years now and have used that information to find the most searched keywords. There are some general keywords like western chaps and cowboy chaps that receive decent search volume. If I get more specific to a certain type of chap, chinks for example, the popular high volume keywords are chinks, chinks chaps, western chinks, and cowboy chinks. These all relate to one type of chap...the chink. I want to be visible for these keywords, but how does one optimize for more than one without diluting? Should I also try to optimize on the homepage of my sites for the general terms like western chaps and cowboy chaps? Can I optimize for both? I could really use some help. Any experts out there up to the job of consulting for me, some with extensive knowledge and experience? I'm not looking for the SEO giants with hundreds of clients. I don't feel that I will get the proper value from those types. My company is small and spending is an issue, that's why I would like someone to consult with. I should be able to do most of the labor, I just need the knowledge.
On-Page Optimization | | Kelly_S0 -
Local on-page SEO
If it feels like you are doing something wrong, then you 'probably' are... Local on-page SEO When optimising a page for local SEO, and trying tick all the usuals boxes, you find yourself adding words like 'golf clubs leeds' which sounds awful when part of a natural paragraph of text. Does Google recognise this poor use of grammar? We try to be as creative as possible, as not to offend the visitor, but it feels wrong... any advice? Thanks
On-Page Optimization | | indicoll0 -
On-Page Analysis Question
Hi, I have a question about the On-Page Analysis report. I am tracking two different keywords for our campaign: "Private Dining" and "Private Dining Sacramento". We are ranked 8th for Private Dining Sacramento but we have an On-Page analysis rating of F. While on the other hand we are not ranked in the top 50 for Private Dining but have an A on-page report. When looking at the on-page report it makes sense that we have an F for Private Dining Sacramento as we don't use that keyword anywhere on the page. We only use Private Dining. However, we are still ranked for Private Dining Sacramento and not for Private Dining. Should we update our keywords/text to use the Private Dining Sacramento keyword instead of the Private Dining? If we add Sacramento will we also get credit for Private Dining because it will still be part of all H,P and A tags we use? Sampe Report | Keyword | Grade | Google US |
On-Page Optimization | | Three29
| URL | Current | Change | Rank | Change |
| | Private Dining /private-dining | A | No-change-icon | no data |
| | Private Dining Sacramento /private-dining | F | No-change-icon | 8 | No-change-icon |0 -
Should I add canonical tag on these pages?
Hi folks I have some pages that used to rank pretty well..but I believe it is affected due to the content similarities. Here is one the sub category pages http://www.ilovebodykits.com/category/98/2/Full-Body-Kits_Duraflex.html the main category page http://www.ilovebodykits.com/category/98/Exterior_Body-Styling_Full-Body-Kits.html These 2 links have very similar contents. The content are dynamic generated by template and I don't think I am able to change content for each individual pages since there are over 2000-3000 of them or more. Should I use canonical tag on the Duraflex.html page to give the main category page all the link juices and credits? There are about 20 other pages like this under this main category. Is it right to canonical all of them? Please let me know if anyone has any suggestion.. thanks
On-Page Optimization | | ilovebodykits0 -
Pages that show in Open Site Explorer that show as 404's in search
When I use Site Explorer to find our Top Pages there are a whole series of pages like this: http://www.nile-cruises-4u.co.uk/mybestbets/mybestbets-culture.html which I think were created when we had a Bulletin Board on the site. Although they are showing in the Top Pages results when you visit the page you get the following error message: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. What implications result from these pages still showing in results and what action should we take without messing up our search rankings? Any advice would be gratefully received.
On-Page Optimization | | NileCruises0 -
Canonical to the page itself?
Hello, I'd like to know what happens when you use canonical to the same page itself, like: Page "example.com" rel canonical="example.com" Does that impact in something? Bad or good? See ya!
On-Page Optimization | | seomasterbrasil1 -
Variable alt tags per page
I have a site where most of the pages don't use images. i use the logo on each page as part of the header. As the header is on each page, if i added a keyword into the alt tag, relevant to the specific page as below Would that be bad SEO? Thanks, Farky
On-Page Optimization | | FarkyRafiq0