how to Redirect all error 404 to Home Page Blogger

 

Redirect all 404 error pages to the Page on Blueger
Redirect all 404 error pages to the Page on Blogger

  • Looking for how to redirect error pages to the Blueger home page? Or how to convert the visitor from the error page 404 to the home page of the Blogger blog?

In today's article, we'll learn about the steps to convert or redirect the visitor from the "404" error page to the home page of your blog.

In addition, you can redirect the visitor to any link or other article you want instead of the error page.

When a visitor comes to your blog and doesn't get the unexpectedly searched publication or page, error 404 (message not found on the page) occurs and a message appears on the "Sorry, the page you're looking for in this blog doesn't exist."

By default. This may be an opportunity to lose a reader on your blog. Only a few visitors will consider going to the home page or using the search bar to search this specific content on your blog. I'm sure many readers will close the window and move back to other search results.

This, of course, will have a negative impact on your blog in search engines. It may make their order in late pages.

  • So why would you lose new visitors to the blog because of the "404" error page?

In your hand is the alternative solution to guide and convert all visitors from the error page to the home page of the Blogger blog.

Let's move on to the way all error pages are redirected to the home page of the Blogger blog.

  • How to redirect a visitor from the error page to the home page of the Blogger blog

There are already a few solutions available to redirect the user from page 404 to the home page on The Blogger.

One is using JavaScript and the other is to update the definition/forwarding.

Personally, I don't like adding more JavaScript scripts, because they slow down the speed of the blog and reduce performance.

So for automatic forwarding of the non-existing Blogger page (error 404) to the home page, I use the id update tag because it will only be uploaded to the template when any visitor reaches the error page or error 404 occurs and this method does not reduce blog performance.

The code responsible for forwarding from the error page to the home page in The Blogger is divided into 3 parts.

The first line is the main script and comes as follows:

<b:if cond='data:blog.pageType == &quot;error_page&quot;'>
.....

.....
</b:if>

In the second line comes the message that appears to the visitor before it is directed to the home page on The blogger. It can be edited and the right message for you, which appears in blue in the main code.

This page is currently being update,You will be directed to the home page, thank you..

In the last line comes the code responsible for forwarding from error pages to the home page of The Blogger.

You must add your blog link, which appears to you in red in the code.

<meta content='5;URL=Put the blog link' http-equiv='refresh'/>

Now we are compiling the script that we will insert into the blog template to guide visitors from error pages to the main blog.

Follow with me the next steps so you can remove the error pages in The Blogger.

  1. Move to blogger's main interface
  2. From the drop-down menu, choose the look.
  3. Then he moved on to html editing.
  4. Use Ctrl+F to search for a tag <head>
  5. Paste the next error page code directly below the tag

<b:if cond='data:blog.pageType == &quot;error_page&quot;'>
This page is currently being update,You will be directed to the home page, thank you..
<meta content='5;URL=Put your blog link here' http-equiv='refresh'/>
</b:if>
When you add the code, don't forget to add your blog link, and you can add any other link you want visitors to be directed to after the "404" error page.

Other articles selected for you:
  • This is all about redirecting all 404 error pages to the Page Home in blogger.
Here we have come to the end of today's theme, through which we learned how to redirect from the error page to the home page of the Blogger blog.

Redirect all error 404 to main Page Blogger

how to redirect all error 404,how to redirect all error 404 at once,how to redirect all error 404 area 51,how to redirect all error 404 area code,how to redirect all error 404 bad request,how to redirect all error 404 css,how to redirect all error 404 debug,how to redirect all error 404 error not found,how to redirect all error 404 from command line,how to redirect all error 404 google,how to redirect all error 404 google drive,how to redirect all error 404 item,how to redirect all error 404 in html,how to redirect all error 404 in php,how to redirect all error 404 javascript,how to redirect all error 404 laptop,

Comments