how to remove blog name from blog article title ?

Nicolas Joffrey

Junior Member
Joined
Dec 9, 2018
Messages
124
Reaction score
10
hello guys, i hope you are all okay !!

so as i mentioned in title, i have this problem: see the pic

dz-digital-tech.jpg


how can i delete my name blog from article title for better SEO ??
i use blogger and i think i need to change something on theme html !!!
this is what i see in my themee html
HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/> - <data:blog.title/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>

what should i change please ?

thanks for help
 
No expert in blogger here, but you should look for Meta title
 
Let's understand what the Blogspot code is doing -

1. First Condition - If the blog's pageType is index (homepage), then show pageTitle - which means show your homepage title in your blogspot settings.

2. Else - (If the above condition is not met, which means the page is not index) and if the page does not i not an Error page - then show the title in the format <data:blog.pageName/> - <data:blog.title/> (Page Title <hyphen> Blog Name)

3. If both of these fail, the page is an error page and hence show Error 404.

So all you have to do is remove the "- <data:blog.title/>" from the second condition.

From this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/> - <data:blog.title/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>

To this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>
 
Hope you got the answer, I also face the same problem and at last, I am able to fix the problem.
 
Let's understand what the Blogspot code is doing -

1. First Condition - If the blog's pageType is index (homepage), then show pageTitle - which means show your homepage title in your blogspot settings.

2. Else - (If the above condition is not met, which means the page is not index) and if the page does not i not an Error page - then show the title in the format <data:blog.pageName/> - <data:blog.title/> (Page Title <hyphen> Blog Name)

3. If both of these fail, the page is an error page and hence show Error 404.

So all you have to do is remove the "- <data:blog.title/>" from the second condition.

From this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/> - <data:blog.title/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>

To this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>
I guess that username was best suited for you. You know your stuff when it comes to blogs.
 
Let's understand what the Blogspot code is doing -

1. First Condition - If the blog's pageType is index (homepage), then show pageTitle - which means show your homepage title in your blogspot settings.

2. Else - (If the above condition is not met, which means the page is not index) and if the page does not i not an Error page - then show the title in the format <data:blog.pageName/> - <data:blog.title/> (Page Title <hyphen> Blog Name)

3. If both of these fail, the page is an error page and hence show Error 404.

So all you have to do is remove the "- <data:blog.title/>" from the second condition.

From this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/> - <data:blog.title/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>

To this

HTML:
<title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/>
            <b:else/>
                ERROR 404 - <data:blog.title/>
            </b:if>
        </b:if>
    </title>
thank you so much, i applied it on my blog, and will see the result after 2 three weeks ..
 
Back
Top