cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate name of domain in SERP under Title

Duplicate name of domain in SERP under Title

Hello When i Search my site on google , It always gives this result showing duplicate name on the top. I think it should just be one. Please let me know how to remove it from backend.

 

4 REPLIES

Re: Duplicate name of domain in SERP under Title

So google doesn't like your title tag because it's spammy (Online Shopping - Shop Online) so they revert to the next best thing, your H1 tag:

 

 <h1 class="logo"><strong>familycart.com</strong><a href="http://www.familycart.com/" title="familycart.com" class="logo"><img src="http://www.familycart.com/skin/frontend/tv_bigboom_package/tv_bigboom2/images/logo.png" alt="familycart.com" width="272" height="52" /></a></h1>
                                           

So it's using what's in the strong tag and what's in the alt tag.  Change your title to something like:

 

"FamilyCart.com - Shop Electronics, Computers, Books and more"

 

Then remove the code that wraps your logo in h1 tags and add an h1 to your page.

Chris / Placement Edge

Re: Duplicate name of domain in SERP under Title

Thank you Chris

 

Can you please help me where in admin it all need changes below you have suggected?

 

Thank you in advance.

Re: Duplicate name of domain in SERP under Title

Go to "CMS > Pages" and select the page with url key "home". On the first tab "page information" for home, you will see "Page Title".

 

For most themes your probably not going to have a decent way to put a page title anywhere on the homepage, and for the most part having it on your logo isn't horrible. I would just change in your /app/code/design/frontend/yourtheme/default/page/html/header.phtml to

 

 <?php if ($this->getIsHomePage()):?>
        <h1 class="logo"><strong>FamilyCart</strong><a href="<?php echo $this->getUrl('') ?>" title="Your Online Superstore" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="logo" /></a></h1>
        <?php else:?>
        <a href="<?php echo $this->getUrl('') ?>" title="Your Online Superstore" class="logo"><strong>FamilyCart</strong><img src="<?php echo $this->getLogoSrc() ?>" alt="lol" /></a>
        <?php endif?>

 

Chris / Placement Edge

Re: Duplicate name of domain in SERP under Title

Thanks Chris

 

Will try to change what you have suggested. Is there for you check back to see if we have done it correctly?