How To Give A Title To Broken/Error/404 Pages in Blogger

Add Title To Your Blog Broken/Error/404 Pages. By default every Error/404 Page displays your Blog Title, if you would like to change it to something else, then you should make little changes in your template.







How To Add Title To Broken/Error/404 Pages To Blogger

  • Go to Blogger Dashboard 
  • Click on DropDown Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML --> Proceed --> Expand Widget Templates
  • Press Ctrl + F and search the code shown below

<title><data:blog.pageTitle/></title>

  • Now replace it with the code shown below

<b:if cond='data:blog.pageType == "error_page"'>
<title>Page Not Found</title>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>

  • If you are using any meta Title Tags, then you should make little changes in your template. 
  • Find the code shown below.

<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.pageTitle/></title>
</b:if>

  • Now replace it with the code shown below

<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageTitle/></title>
<b:else/>
<b:if cond='data:blog.pageType == &quot;error_page&quot;'>
<title>Page Not Found</title>
<b:else/>
<title><data:blog.pageName/> |  <data:blog.pageTitle/> </title>
</b:if>
</b:if>

  • Now save your template

Like it? Share it.

No Comments

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.