Tuesday, 4 December 2018

How To Automatic Redirect 404 Error Page to Home Page In Blogger

Hello friends, after a long time, I will share a great tips with you guys. Who has not yet told anyone. The title of my post is today How To Automatic Redirect 404 Error Page to Home Page in Blogger. 

Automatic redirect 404 error page to home page

You will find many such articles on the internet. Only those old tips will be found in the boot. No new tips will tell you. But the way I'm telling it is a brand new way. Anyone who has not yet written it. Because it is a custom 404 page template error.

Whoever has his own website will know what the error page is called. This is very harmful for the SEO. And use the method available on the Internet.. It does not benefit anything from friends.

And if you use a custom theme, then there will be an error. You will never be able to automate any broken link automatically.

But after using the trick you are presenting today, your entire link link will automatically be redirected to your site. . This is a seo friendly . Blogger was not possible before custom 404 page wordpress like.

How To Add Responsive Weather Widget For Blogger Website

Automatic Redirect Error Page to Main Page

But now it is very simple if you have idea then So let's get the Idea we have. Follow the steps given below.... 👇

It cannot be denied that broken links on blogs can be recognized as quite difficult to overcome. The causes can vary, starting from the negligence of the blog admin who incorrectly placed or wrote a link in another article, has deleted the related link.

Or it could also be caused by crawling of search engines that mistranslated the URL of the article on the blog.

Well, this error URL can be optimized in a special way. Namely by diverting it to the blog homepage or to certain things.

Tips For Fix custom page not found blogger

Please go to the Theme menu> Edit HTML. Then look for the code </ body> then place the following code above the code:

<b:if cond='data:view.isError'><script>window.location.href = &quot;<data:blog.homepageUrl/>&quot;; </script></b:if>

Then Save the Theme.

If you want to switch error page 404 to another page or link, please do it in the following way:

<b: if cond = 'data: view.isError'><script>window.location.href = & quot; [redirect_link_here] & quot ;;</ script></ b: if>


<b: if cond = 'data: view.isError'><script>window.location.href = & quot; https: //yourdomain.com/error-404.html/&quot ;;</ script></ b: if>

Or like this:

<b: if cond = 'data: view.isError'><script>window.location.href = & quot; https: //domain.blogspot.com/contact-us.html/&quot ;;</ script></ b: if>

After that, save the theme.

That's the Automatic Redirect Error Page to the Main Page, hopefully it's useful for you.