Jump to content

Why my page title in google shows my site name


fatheeym

Recommended Posts

If you haven't already done so, you should override the getHomeMetas function in classes/Meta.php and change line 235 (in PrestaShop v1.6.1.11) from:
        $ret['meta_title'] = (isset($metas['title']) && $metas['title']) ? $metas['title'].' - '.Configuration::get('PS_SHOP_NAME') : Configuration::get('PS_SHOP_NAME');

to:

        $ret['meta_title'] = (isset($metas['title']) && $metas['title']) ? $metas['title'] : Configuration::get('PS_SHOP_NAME');

This will remove the shop name from the meta title.

 

If you've already done this, it would appear that Google has already crawled those pages before you removed the shop name from the title. You can try resubmitting your website's sitemap.xml file in Google Webmaster, but there's nothing else you can do except wait for Google to re-crawl the pages.
 
I'm not certain, but I think it's normal behaviour for Arabic to be displayed as HTML codes like that, since the characters aren't available in ASCII.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...