{"id":115613,"date":"2013-05-23T11:30:17","date_gmt":"2013-05-23T15:30:17","guid":{"rendered":"http:\/\/wpmu.org\/?p=115613"},"modified":"2013-05-22T13:53:33","modified_gmt":"2013-05-22T17:53:33","slug":"wordpress-404-plugin","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/wordpress-404-plugin\/","title":{"rendered":"Is Your WordPress 404 Page Killing Traffic &#038; Drinking Your SEO Juice?"},"content":{"rendered":"<p>A 404 page is the error page that users see when the page they\u2019re looking for is not at the URL they\u2019ve landed on. Some 404 pages are <a href=\"https:\/\/wpmudev.com\/blog\/105-weird-and-wonderful-404-error-pages\/\" target=\"_blank\">creative<\/a>, some are useless, and some don\u2019t even exist at all.<\/p>\n<p>Users might land on a 404 page for various reasons \u2013 the page has been moved or deleted, they\u2019ve followed a badly constructed link, or they may have typed in the wrong URL.<\/p>\n<p>\u201cNot Found\u201d pages are more than just a nuisance, however, they may be losing you both visitors and SEO juice as well.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115617\" title=\"404-700px\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-700px-700x391.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"391\" \/><\/div>\n<\/div>\n<h2><\/h2>\n<h2><strong>Is Your 404 Page Hurting You? <\/strong><\/h2>\n<p>Let\u2019s be honest. How often have you simply backed out of a site when you landed on an error page? Unless you\u2019re a rare and patient bird, the answer is probably \u201cpretty often.\u201d There may be things you can do on your own site, however, to help keep impatient visitors hanging around.<\/p>\n<p>In addition to disappearing visitors, there\u2019s also another problem with \u201cNot Found\u201d pages. If someone is linking to a page that has moved, or they have made a mistake in the construction of a link, then any SEO juice that would normally pass to you with that link is lost. But if you can redirect that URL, you can transfer that juice to another page.<\/p>\n<p>And so even though error pages can cause problems, those problems can be minimized to some degree, and the six plugins we go over below are aimed at doing just that.<\/p>\n\n<h2><strong>Where Is My 404 Page?<\/strong><\/h2>\n<p>Before we get into the plugins, however, if you aren\u2019t familiar with 404 pages, you can see what your 404 page currently looks like by typing in some address where you know a page doesn\u2019t exists, for example: mysite.com\/somethingcrazyyyyyyy.<\/p>\n<p>The look and content of your 404 error page is controlled by your theme (template file 404.php). For example, here\u2019s a look at the default error page found with the Twenty Twelve theme:<\/p>\n<figure id=\"attachment_115618\" class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-115618\" title=\"404-example\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-example-700x400.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"400\" \/><figcaption class=\"wp-caption-text\">The 404 page in the default Twenty Twelve theme.<\/figcaption><\/figure>\n<p>If your theme doesn\u2019t have a 404 page, and you\u2019d like to create one, you can <a href=\"http:\/\/codex.wordpress.org\/Creating_an_Error_404_Page\" target=\"_blank\">learn how to do that here<\/a>.<\/p>\n<p>OK, let\u2019s get onto the plugins.<\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<h2><strong>1. 404 Redirected<\/strong><\/h2>\n<p>The <a href=\"http:\/\/wordpress.org\/plugins\/404-redirected\/\" target=\"_blank\">404 Redirected<\/a> plugin does a number of things, but it seems the most valuable among them are that it lets you provide suggestions on your 404 page for users to click on, and perhaps even more importantly, it gives you detailed info on what pages users were looking for.<\/p>\n<p>In order to get the plugin working, you must insert a line a code into an already existing 404.php page (Appearance &gt; Editor &gt; 404.php). Where\u00a0 you insert this line of code is also where suggestions to other pages will appear (should you decide to use the suggestions function).<\/p>\n<p>Here\u2019s a look at a page with a few suggestion on it.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115619\" title=\"404-redirected-suggestions\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-redirected-suggestions-700x400.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"400\" \/><\/div>\n<\/div>\n<p>As mentioned, however, maybe even more importantly, the plugin also records the exact page that caused the 404 error. When you see a number of errors to the same page, you might decide to redirect that page to another page manually specified by you. The plugin lets you do that as well.<\/p>\n<p>Here\u2019s a look at a record of some pages that appeared in my test. If a number of people on my site were actually looking for these pages, I could manually redirect them to another page.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115620\" title=\"404-redirected-stats\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-redirected-stats-700x462.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"462\" \/><\/div>\n<\/div>\n<p>Note: This plugin does NOT automatically redirect all 404 errors to one page, such the home page. It uses the built in 404.php page unless a URL is manually specified to redirect to another page.<\/p>\n<p>Because of the stats that you get, this plugin is especially good for anyone who is interested in paying close attention to the 404 errors on their site.<\/p>\n<p>(* This plugin comes with a promotional link, but you can turn that off in the settings if you like.)<\/p>\n\n<h2><strong>2. Auto Redirect 404 in 301 for Trashed Posts<\/strong><\/h2>\n<p>While the <a href=\"http:\/\/wordpress.org\/plugins\/auto-redirect-404\/\" target=\"_blank\">Auto Redirect 404 in 301 for Trashed Posts<\/a> is quite a mouthful, it does just what it says \u2013 it takes posts that you have trashed and redirects them to your homepage. (It redirects to the homepage by default, but you can change that.)<\/p>\n<p>A 301 redirect is a \u201cpermanent\u201d redirect. It tells search engines that this post is no longer here, and it\u2019s not coming back, so point any reference you have to it to this other page (in this case, the homepage).<\/p>\n<p>This is better for the SEO of your site. It\u2019s better if a search engine thinks that something has moved rather than simply disappeared. It will also transfer most of any link juice that the trashed post may have had to the new page.<\/p>\n<p>You\u2019re also given the option of redirecting deleted URLs to pages other than the homepage. For example, you might redirect deleted categories to a page that lists all your current categories.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115621\" title=\"auto-redirect-404-trash\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/auto-redirect-404-trash-700x741.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"741\" \/><\/div>\n<\/div>\n<p>Once people begin arriving on posts that you have deleted, the plugin will list those pages for you (see the bottom two examples in the image above), and you can redirect them to a specific page if you like.<\/p>\n<p>Note \u2013 this is for posts (or pages, categories, tags, and media) that have been deleted. It\u2019s not for pages that never existed on your site. If someone types in or follows a link to a URL that never existed on your site, they will get the default 404 page that your theme employs.<\/p>\n<p>This plugin is good for those looking to squeeze every ounce of SEO juice they can from their site.<\/p>\n<h2><strong>3. 404 to Start<\/strong><\/h2>\n<p>The <a href=\"http:\/\/wordpress.org\/plugins\/404-to-start\/\" target=\"_blank\">404 to Start<\/a> plugin is a relatively simple plugin. It will allow you to redirect any 404 error to either the homepage of your site or any other page you choose.<\/p>\n<p>Like the plugin above, it will allow you to make these redirects 301 redirects. It also gives you the option to be notified by mail anytime someone hits a 404 error.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115622\" title=\"404-to-start\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-to-start-700x538.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"538\" \/><\/div>\n<\/div>\n<p>While this is simple and straight-forward, it does completely bypass your built-in 404 page altogether for each 404 error. That may be fine for some. Others, however, may want users to land on a customized 404 page that may provide a search box or suggestions for other pages.<\/p>\n<p>The difference between this plugin and the plugin above it (Auto Redirect 404 in 301 for Trashed Posts) is that the plugin above only redirects URL that actually existed. If someone types in a URL that never actually existed on your site, they would be sent to a 404 page (not redirected to the homepage).<\/p>\n<p>This plugin, like the one above it, it good for SEO purposes. It\u2019s also slightly simpler in that it doesn&#8217;t record the pages that users are looking for.<\/p>\n\n<h2><strong>4. 404 Error Monitor<\/strong><\/h2>\n<p>The <a href=\"http:\/\/wordpress.org\/plugins\/404-error-monitor\/\" target=\"_blank\">404 Error Monitor<\/a> plugin does just what its name says \u2013 it monitors the 404 errors on your site, and that\u2019s it.<\/p>\n<p>There are no options for redirecting or anything else. It simply says what pages users attempted to access that weren\u2019t available.<\/p>\n<p>This plugin could be handy for those who are using a different 404 plugin that lacks such monitoring. Or it may be good for those who like to build their own redirects yet don\u2019t know which pages need to be redirected.<\/p>\n<p>Here\u2019s a look at the output. You\u2019ll notice it also shows the referrer. This is good for finding if someone has built a link to one of your pages incorrectly.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115623\" title=\"404-monitor\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/404-monitor-700x285.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"285\" \/><\/div>\n<\/div>\n<h2><strong>5. Custom 404 Error Page<\/strong><\/h2>\n<p>The <a href=\"http:\/\/wordpress.org\/plugins\/custom-404-error-page-unlimited-designs-colors-and-fonts\/\" target=\"_blank\">Custom 404 Error Page<\/a> plugin lets you liven up your 404 page a little with some easy-to-apply designs. It will also suggests other posts by default, or you can enter your own set of links for users to click.<\/p>\n<p>Here\u2019s a look at one design.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115624\" title=\"custom-design\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/custom-design-700x503.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"503\" \/><\/div>\n<\/div>\n<p>And here\u2019s a look at the settings for controlling the design.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115625\" title=\"custom-design-settings\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/custom-design-settings-700x260.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"260\" \/><\/div>\n<\/div>\n<p>*Note: This may not work well in responsive themes on small screens. You may want to test that.<\/p>\n<h2><strong>6. NotFound.org 404 Page<\/strong><\/h2>\n<p>Finally we come to a very different type of 404 plugin \u2013 the <a href=\"http:\/\/wordpress.org\/plugins\/notfoundorg-404-page\/\" rel=\"noopener\" target=\"_blank\">NotFound.org 404 Page<\/a>.<\/p>\n<p><a href=\"http:\/\/notfound.org\/\" target=\"_blank\">NotFound.org<\/a> describes their unique mission like this:<\/p>\n<blockquote><p>Install our application and a picture of a missing child automatically gets published on every \u2018page not found\u2019 of your website. Together, we can find them.<\/p><\/blockquote>\n<p>Here\u2019s an example of a 404 page that the plugin shows.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115626\" title=\"notfound-org\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/notfound-org-700x626.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"626\" \/><\/div>\n<\/div>\n<p>By default (you can change this) there are two links \u2013 one to go back to the page you came from and one to go the homepage of the site.<\/p>\n<p>NotFound.org is a European organization, and so this option is probably best suited for those with a large European Union audience.<\/p>\n<h2><strong>Get Lost<\/strong><\/h2>\n<p>Even though they\u2019re already lost, a bad or non-existent 404 page tells both humans and search engines to, once again, essentially \u201cget lost.\u201d You never really know what taking care of this issue might bring you. That one visitor who may have gone away might end up being someone important to you. That one link you wouldn\u2019t have gotten credit for may be the one to put you over the top.<\/p>\n<p>It may seem like a small thing, but it\u2019s worth attending to 404 error pages to make sure you&#8217;re getting the most out of them.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u201cNot Found\u201d pages on your site are more than just a nuisance. They may be losing you both visitors and valuable SEO points.   <\/p>\n","protected":false},"author":84404,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[35],"tutorials_categories":[],"class_list":["post-115613","post","type-post","status-publish","format-standard","hentry","category-plugins","tag-seo"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/84404"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=115613"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115613\/revisions"}],"predecessor-version":[{"id":204506,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115613\/revisions\/204506"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=115613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=115613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=115613"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=115613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}