Hi guys on this occasion I
will share the tricks to make a 404 error page automatically redirect to the
home page. Actually this is just a regular redirect script, but in the past I
had thought to use this script in my error page.
Previous if my friend
already knew what it was a 404 error page error page is usually a page url /
link earlier in our blog but has been erased / deleted, as well as visitors to
one type the link which is based on our blog link then he will go to a page
This 404 error. Well from the page / blank pages intended (if not in costume /
modifications) we better just point to the visitors of our blog homepage. Well
here is how to make ...
404 Error page in the
Redirect to the homepage.
1. Log in to your Blogger account.
2. Select the Template >> Edit HTML
3. Put the following code
above the </
body>
HTML - Go Widget
<b:if cond='data:blog.pageType ==
"error_page"'>
<div style='text-align: center;'>
<div class='separator' style='clear: both; text-align:
center;'>
<img
src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdyHQU426SeRtwlHzZA5T24N-kN55wGkPsKIPFkJyXJ1QBAbZ2Ifn2SJLGdeGqRGnlM2OsdJM2Z0A4o4cP5WRriIVk0cTg_dITvUe2h6OGWryDO_LDTjr175x6n18R9W17mHgL9G3-udw/w128-h40-no/Loading10.GIF'/></div>
<br/></div>
<script type='text/javascript'>
BSPNF_redirect=setTimeout(function() {
location.pathname= "/"
}, 0);
</script>
</b:if>
4. Save the template.
If you are interested in
this article, please help to sharing in social media you have .. thank you very
much for your visiting this Blog.