Welcome to WebmasterWorld Guest from 23.20.6.115

Forum Moderators: mademetop

Message Too Old, No Replies

Best 404 solution

Will it work this way?

     
9:24 am on Sep 12, 2012 (gmt 0)

New User

joined:Aug 30, 2012
posts:15
votes: 0


When a page is not available (anymore) for some reason you want:
- to inform the user
- keep the link juice

What about giving bots a 200 status code with canonicals but showing a customized "not found"- page to the user?
9:47 am on Sept 12, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10553
votes: 12


does the canonical url point to a document that looks like a customized "not found" page?

http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394 [support.google.com]:
Must the content on a set of pages be similar to the content on the canonical version?
Yes. The rel="canonical" attribute should be used only to specify the preferred version of many pages with identical content (although minor differences, such as sort order, are okay).
9:58 am on Sept 12, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


An error message with "200 OK" status is a "soft 404".

You should avoid that. You should send 404 status.

Google will still follow the links from the 404 page.
10:01 am on Sept 12, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10553
votes: 12


welcome to WebmasterWorld, SabrinaScherer!
10:11 am on Sept 12, 2012 (gmt 0)

New User

joined:Aug 30, 2012
posts:15
votes: 0


Thanks for the answers and the warm welcome!

@phranque
On the "soft 404" page you can show a preview of the canonical page with some additional content like a searchbox, navigation buttons and informations in javascript to hide words like "404".

@g1smd
Yes, but you want to keep the link juice. Why should Google show 404s in search results, right? At least in the long run [youtube.com].
2:03 pm on Sept 12, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10553
votes: 12


you would probably do better for the user by either 301 redirecting to the canonical or simply showing the content from the page referred to in the link rel canonical.
7:44 pm on Sept 12, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13210
votes: 347


Ahem. "No longer available" is a 410 ("I took it away on purpose") not a 404 ("Sorry, can't find it"). You can make a separate 410 page or send users to the same physical page as for 404; use your judgement.

If the page content has simply moved to a new URL then of course a 301 is appropriate.

On the "soft 404" page

I think you may have misunderstood what a "soft 404" is.

If a page is gone, you can't expect to return a 200 forever without consequences. Better to deal with it upfront.
1:36 am on Nov 22, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 14, 2004
posts:864
votes: 0


@lucy24 that's exactly what best practices say, but Google still treats a 410 as a 404.
2:35 am on Nov 22, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13210
votes: 347


On some level they must know the difference, because they really do stop crawling after a while.

:: quick glance to see what forum we're in ::

Bing otoh doesn't seem to care. I've got pages that have been 410'd for ages but they still come by regularly. Not as often as for active pages, but still several times a month for pages that rarely changed when they were active.
9:59 am on Nov 22, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Google respiders every URL forever, just in case content re-appears some time in the future.

They re-spider pages that last returned 410 on a lower priority than those that returned 404.

When Google finds a page that returns 404, they return to check it twice in the next 48 hours then do not return for several months.