Redirect Blogger 404 Mistake (Page Non Found) To Homepage
A 404 fault page tells yous in addition to search engines that a page is non institute past times displaying a text similar to "Sorry, the page yous were looking for inward this weblog does non exist.". This may plough over because yous bring changed your URLs over time, either removed a few pages when yous overhauled your design, or a visitor may bring accidentally misspelled an URL nonexistent inward your blog, in addition to so it automatically redirects to the 404 fault page (page non found).
Most likely, this volition non brand a expert impression on the potential users of our blog. So, earlier the visitor clicks the dorsum push or unopen the window/browser's tab, so leaving our site forever, nosotros may desire to redirect 404 fault inward Blogger to a page, in addition to so that the visitor volition boot the bucket on reading our blog.
One of the most used methods is the "meta refresh" but the occupation amongst this method is that it breaks navigation (doesn't let to supply back). In this case, the best method is to utilisation JavaScript most which I volition become into to a greater extent than special below.
Copy in addition to glue the next code within the empty box:
Next affair to create is to 'Save changes' in addition to create a footling exam to cheque if the code industrial plant well. You tin verify the 404 fault page functionality past times adding a random text at the terminate of your weblog address - subsequently pressing Enter, yous should meet the fault page followed past times a redirection subsequently five seconds. That's it!
Most likely, this volition non brand a expert impression on the potential users of our blog. So, earlier the visitor clicks the dorsum push or unopen the window/browser's tab, so leaving our site forever, nosotros may desire to redirect 404 fault inward Blogger to a page, in addition to so that the visitor volition boot the bucket on reading our blog.
One of the most used methods is the "meta refresh" but the occupation amongst this method is that it breaks navigation (doesn't let to supply back). In this case, the best method is to utilisation JavaScript most which I volition become into to a greater extent than special below.
Redirect Blogger 404 Error amongst JavaScript
Go to your Blogger dashboard, pick out your weblog in addition to click the Settings card item > Search preferences > Custom Page Not Found.Copy in addition to glue the next code within the empty box:
Sorry, the page you're looking for inward this weblog does non exist.The text which is going to endure displayed tin endure modified every bit yous want. If yous are willing to redirect the 404 fault page to roughly other page other than abode page, merely supervene upon pathname to href in addition to / amongst the url of your page. Finally, the let out 5000 which is the delay expressed inward milliseconds, tin endure changed to other value if this is to a greater extent than convenient.
You volition endure redirected to homepage shortly.
<script type = "text/javascript">
PNF_redirect = setTimeout(function() {
location.pathname= "/"
}, 5000);
</script>
Next affair to create is to 'Save changes' in addition to create a footling exam to cheque if the code industrial plant well. You tin verify the 404 fault page functionality past times adding a random text at the terminate of your weblog address - subsequently pressing Enter, yous should meet the fault page followed past times a redirection subsequently five seconds. That's it!