How to add automotive redirect 404 Not Found Page to the Home Page with Blogger setting for broken links by javascript code
Whenever someone goes on a web page that is either deleted or has no existence Blogger website usually displays its common 404 not found error message for broken links with simple Javascript code. “Sorry for the inconvenience, the page you are looking for has no existence”. The first impression counts more than anything. A person would never desire to display not-found error pages to his new visitors. Therefore, it is essential to redirect all 404 not found pages to the home page URL so users can easily get access to the content that is waiting for them.
So we learn how to use this simple JavaScript code which does the job pretty nicely.
![]() |
How to add Redirect 404 Not Found Page to the Home Page in Blogger |
first, you must learn two main about redirect page messages
404 Pages: The 404 not found error message of Blogspot.com is a form of standard HTTP response code, which indicates to the client that the destination which he is looking for, is unable to interact with the server or has no existence.
301 Permanent Redirects: URL redirection, also known as URL redirecting is a technique that allows a webmaster to forward his one domain to another domain through URL redirection, or making different web pages available under many URLs
Solution:
Log in to Blogger:
Access your Blogger dashboard using your Google account credentials.
Navigate to Settings:
Locate the "Settings" option in the Blogger interface. This might be found in a sidebar menu or similar location depending on the layout.
Find "Errors and Redirects": Look for a section titled "Errors and Redirects" within the settings.
Access "Custom 404": Within "Errors and Redirects," you should find an option labeled "Custom 404" or similar. Click on it to edit the custom 404 page settings.
Paste the Redirect Code:
Here, you'll need to paste a code snippet that facilitates the redirect. You can find this code by searching online for "Blogger 404 redirect code." Here's a general idea of the JS code:
Sorry for the inconvenience, the page you are looking for has no existence.<script type = "text/javascript">//Blogger 404 Redirect Powered by Blogger Coding TipsBSPNF_redirect = setTimeout(function() {location.pathname= "/"}, 1000);</script>
Comments :
Post a Comment