{"id":2166,"date":"2011-06-24T13:28:18","date_gmt":"2011-06-24T20:28:18","guid":{"rendered":"http:\/\/queenofsubtle.com\/404\/?page_id=2166"},"modified":"2011-06-24T13:28:18","modified_gmt":"2011-06-24T20:28:18","slug":"use-redirects","status":"publish","type":"page","link":"https:\/\/queenofsubtle.com\/404\/?page_id=2166","title":{"rendered":"Use Redirects"},"content":{"rendered":"<p>If you look at your log files and see that there is a page that is consistently getting a 404 (for example, if someone linking to your site mistyped the link), you can create a redirect page to send people to the right page. This is only really effective if people are consistently getting the wrong page with the same address.<\/p>\n<p>Redirects are also good used in conjunction with a 404 page. You can have a message such as:<\/p>\n<p style=\"padding-left: 30px;\"><strong>Sorry, this page was not found. In a few seconds, you will be redirected to our main page.<\/strong><\/p>\n<p>Give them 5 seconds to read the message and then redirect.<\/p>\n<p>Whatever you do, be careful with redirects. The worst thing you can do is to redirect to another nonexistant or unrelated page. Tried to find anything on Microsoft&#8217;s site lately? You&#8217;ll know what I mean.<\/p>\n<p>You can do redirects easily. Here is an example:<\/p>\n<pre>&lt;HTML&gt;\r\n&lt;head&gt;\r\n&lt;meta HTTP-EQUIV=\"Refresh\" CONTENT=\"5; URL=not404.htm\"&gt;\r\n&lt;\/head&gt;\r\n&lt;\/HTML&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>The number after CONTENT is the number of seconds you want it to wait before redirecting.<\/p>\n\r\n\t\t\t<div style=\"clear: both; float: none;\" class=\"ratepost-clear\"><\/div>\r\n\t\t\t<div id=\"ratepost-2166\" class=\"ratepost\" rel=\"3\">\r\n\t\t\t\t<div class=\"rating-info\">rating: 3.00\/5<\/div>\r\n\t\t\t\t\t<span class=\"rating3\"><div class=\"star1\" rel=\"1\"><\/div><div class=\"star2\" rel=\"2\"><\/div><div class=\"star3\" rel=\"3\"><\/div><div class=\"star4\" rel=\"4\"><\/div><div class=\"star5\" rel=\"5\"><\/div><\/span>\r\n\t\t\t\t<div class=\"status-info\"><\/div>\r\n\t\t<\/div><div style=\"clear: both; float: none;\" class=\"ratepost-clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>If you look at your log files and see that there is a page that is consistently getting a 404 (for example, if someone linking to your site mistyped the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2128,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"_links":{"self":[{"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/pages\/2166"}],"collection":[{"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2166"}],"version-history":[{"count":6,"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/pages\/2166\/revisions"}],"predecessor-version":[{"id":2173,"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/pages\/2166\/revisions\/2173"}],"up":[{"embeddable":true,"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=\/wp\/v2\/pages\/2128"}],"wp:attachment":[{"href":"https:\/\/queenofsubtle.com\/404\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}