{"id":24015,"date":"2008-08-12T00:00:00","date_gmt":"2008-08-12T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/farewell-to-soft-404s\/"},"modified":"2008-08-12T00:00:00","modified_gmt":"2008-08-12T00:00:00","slug":"farewell-to-soft-404s","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/farewell-to-soft-404s\/","title":{"rendered":"Farewell to soft 404s"},"content":{"rendered":"<p class=\"gargardate\">Tuesday, August 12, 2008<\/p>\n<p>\n  We see two kinds of<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-http-status-codes-affect-googles-crawlers\/\"><code>404<\/code> (&#8220;File not found&#8221;) responses<\/a><br \/>\n  on the web: &#8220;hard <code>404<\/code> error&#8221; and &#8220;soft <code>404<\/code> error.&#8221; We discourage the use<br \/>\n  of so-called <code>soft 404<\/code> because they can be a confusing experience for users and search<br \/>\n  engines. Instead of returning a <code>404<\/code> response code for a non-existent URL, websites<br \/>\n  that serve <code>soft 404<\/code> errors <i>return a <code>200<\/code> response code<\/i>. The<br \/>\n  content of the <code>200<\/code> response is often the home page of the site, or an error page.\n<\/p>\n<p>\n  How does a <code>soft 404<\/code> look to the user? Here&#8217;s a mockup of a <code>soft 404<\/code>:<br \/>\n  This site returns a <code>200<\/code> response code and the site&#8217;s home page for URLs that don&#8217;t<br \/>\n  exist.\n<\/p>\n<p><img decoding=\"async\" alt=\"a user confused by a soft 404\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-1268e137ee9a.png\" loading=\"lazy\"><\/p>\n<p>\n  As exemplified above, <code>soft 404<\/code> errors are confusing for users, and furthermore search<br \/>\n  engines may spend much of their time crawling and indexing non-existent, often duplicative URLs<br \/>\n  on your site. This can negatively impact your site&#8217;s crawl coverage\u2014because of the time Googlebot<br \/>\n  spends on non-existent pages, your unique URLs may not be discovered as quickly or visited as<br \/>\n  frequently.\n<\/p>\n<h2 id=\"what-should-you-do-instead-of-returning-a-soft-404\" tabindex=\"-1\">What should you do instead of returning a <code>soft 404<\/code>?<\/h2>\n<p>\n  It&#8217;s much better to <i>return a <code>404<\/code> response code and clearly explain to users that<br \/>\n  the file wasn&#8217;t found<\/i>. This makes search engines and many users happy.\n<\/p>\n<p><img decoding=\"async\" alt=\"example of a 404 response header\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-860c44123632.png\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" alt=\"example error message returned to the user explaining that the content is not found\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-d933ee303b81.png\" loading=\"lazy\"><\/p>\n<p>\n  Can your webserver return <code>404<\/code>, but send a helpful &#8220;Not found&#8221; message to the user? Of<br \/>\n  course! More info as<br \/>\n  &#8220;<a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/its-404-week-at-webmaster-central\/\"><code>404<\/code> week<\/a>&#8221;<br \/>\n  continues!\n<\/p>\n<p class=\"byline-author\">Written by <a href=\"https:\/\/developers.google.com\/search\/blog\/authors\/maile-ohye\">Maile Ohye<\/a>, Developer Programs Tech Lead<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tuesday, August 12, 2008 We see two kinds of 404 (&#8220;File not found&#8221;) responses on the web: &#8220;hard 404 error&#8221; and &#8220;soft 404 error.&#8221; We discourage the use of so-called soft 404 because they can be a confusing experience for users and search engines. Instead of returning a 404 response code for a non-existent URL, [&hellip;]<\/p>\n","protected":false},"menu_order":85897,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24015","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24015\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/26618"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24015"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24015"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}