How To Redirect 404 Error (Page Not Found) To Homepage In Blogger

Hello Friends, today i am going to share a Tutorial on How to Redirect 404 Error to Homepage in Blogger in a very easy way. Normally 404 Error means the page you are looking for is not found on particular site or server 



What is the Page Not Found Error 404?
The 404 Not Found Error means that the webpage you were trying to reach could not be found on the server. It is a Client-side Error which means that either the page has been removed or moved and the URL was not changed accordingly, or that you typed in the URL incorrectly. Put simply, a 404 Not Found Error means that the webpage simply does not exist with the URL entered.

How to Recognize the 404 Not Found Error

There are many different ways that you might see this error message on your computer. Be aware that 404 Pages can be entirely customized by the owner of the domain. It can show up any way imaginable but these are some common words that you can look for to know if the Error you see is an HTTP Not Found Error 404

1.      404 Error
2.      404 Not Found
3.      The requested URL [URL] was not found on this server.
4.      HTTP 404 Not Found
5.      404 Page Not Found

 404 Error Occurs Frequently with many Visitors, then visitors closes the site as most of them dont know that is just a simple error, to prevent this from happening we will redirect the 404 error page into homepage which will help increase bounce rate as well as visitors wont leave the site, as they might find some other post and stick to it, so here is the tutorial on how to redirect 404 error- page not found to homepage in blogger 


Here is My Video Tutorial on How to Redirect 404 Error Page To Homepage with Timer 



How to Redirect 404 Page Not Found Error To Homepage In Blogger 


Step 1: Login to your Blogger Account 

Step 2: Select The Blog for which you want to make changes 

Step 3:  Go To Settings --> Search Preferences 



Step 4:  Under "Errors and Redirections" --> Click on "Custom Page Not Found"



Step 5: Now Copy The Following Code

          <script type= "text/javascript">
           //Blogger 404 Redirect (www.HackingDream.net)
           BSPNF_redirect = setTimeout(function() 
          {location.pathname=""}, 14000); </script>


Step 6: Paste the Code in "Custom Page Not Found Dialog Box"



Step 7:  Click on "Save Changes"


Modifications To Code ::



{location.pathname= ""}, 14000) 


Here 14000 is 14000 Milli Seconds, you can change it to any number,
0 = Redirect without any delay, I dont recommend using "0" as the visitor doesnt know 
what happened, they might feel uneasy 
 
if You dont want to redirect to homepage you can change it to some other by removing the space
and pasting the link that you want to redirect the 404 Error Page

{location.pathname
= " www.HacingDream.net/2016/08/how-to-redirect-404-error-page-not-found-to-homepage-in-blogger.html"}, 14000)

Now try tying some random stuff right after your URL and Check it, Error will be redirected to homepage



If You want to change Content in 404 Page not Found - Page Here is the Tutorial on it Enjoy

Hope You Like My Post












==== =====           Hacking Don't Need Agreements          ==========
Just Remember One Thing You Don't Need To Seek Anyone's  To Hack Anything Or Anyone As Long As It Is Ethical, This Is The Main Principle Of Hacking Dream
    Thank You for Reading My Post, I Hope It Will Be Useful For You

I Will Be Very Happy To Help You So For Queries or Any Problem Comment Below Or You Can Mail Me At Bhanu@HackingDream.net


Bhanu Namikaze

Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.

No comments:

Post a Comment