Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Prestashop SEO Tips
#1
Posted 08 February 2010 - 04:45 PM
I have written (and will update from time to time) some tips on how to improve SEO in Prestashop.
They are posted on my site rather than here because I wanted to use bold characters to highlight changes in the code and it's not possible with the form interface (bold doesn't work inside code)
http://www.presto-ch...estashopseotips
Make sure to check out the English version....
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#2
Posted 09 February 2010 - 04:02 AM
The most important thing in my experience to help get better ranking in search engines is to get as many quality links from other sites to your site.
There are many other small things you can do as well, but getting more incoming links to your site is the easiest and simplest thing you can do.
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#3
Posted 11 February 2010 - 03:45 PM
key words first, then shop name.
2. Change heading!
On product detail page change productname to h1. (product.tpl)
On category page, change category name to h1 and product name to h2. (category.tpl + product-list.tpl)
cms pages, page title = h1. (cms.tpl)
3. No h1 on the shop logo, this have no reason at all (a image is the most important heading on the page? what's the point?).
#4
Posted 11 February 2010 - 03:51 PM
From 1265899539:
key words first, then shop name.
If your site name contains the keywords, than you can keep it.
The first 60 characters of the title have the most impact, so choose them wisely, and make sure you use up the 60 characters...
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#5
Posted 17 February 2010 - 11:24 AM
You might try this book. It's free. I have an affiliate link in it, but that's for folks who end up needing a web site and are looking for a host - which you are not - so don't fret about that.
The book is called "Make Your Site Sell" and it's really helpful.
#6
Posted 17 February 2010 - 12:26 PM
From 1265899539:
But the image logo comes with a text link, and that text is the name of the shop, and the name of the shop would be good to have with h1. Right? :question: :roll:
#7
Posted 18 February 2010 - 03:19 AM
From 1266405983:
From 1265899539:
But the image logo comes with a text link, and that text is the name of the shop, and the name of the shop would be good to have with h1. Right? :question: :roll:
The link only has a title in it, but ok, lets say your shop is called "cleaning master" and you sell soap. How good is it for your SEO if every page is about "cleaning master"? maybe you have a few products that is "deluxe soap" or "cheap soap" and want these product pages to rank better on these key words?
#8
Posted 18 February 2010 - 06:42 AM
From 1266459554:
From 1266405983:
From 1265899539:
But the image logo comes with a text link, and that text is the name of the shop, and the name of the shop would be good to have with h1. Right? :question: :roll:
The link only has a title in it, but ok, lets say your shop is called "cleaning master" and you sell soap. How good is it for your SEO if every page is about "cleaning master"? maybe you have a few products that is "deluxe soap" or "cheap soap" and want these product pages to rank better on these key words?
Yes, but what if the name of the shop is Deluxe Soap or Cheap Soap, and you sell precisely deluxe soap at low prices? Then perhaps it might be good to keep the h1 on the logo, or change it to h2, but not delete it. The point is, this might not be so categorical - it might be good to take it away, and it might be good to keep it or to edit it to h2 or h3. I guess it depends on how important it is for you to get your shop name out there, and it depend on how your shop name relates to the products you sell and to your key words...
#9
Posted 18 February 2010 - 09:38 AM
#10
Posted 18 February 2010 - 11:10 AM
#11
Posted 21 February 2010 - 07:42 PM
From 1265899539:
key words first, then shop name.
I have looked in the header.tpl but I'm not sure what to change to get the key words before the shop name.
Can you provide a code example please?
/Stefan
#12
Posted 21 February 2010 - 09:31 PM
Yes could you give an example header.tpl so we can get a feeling of what you mean?
For hire for Prestashop customizations and iDeal integration
#13
Posted 21 February 2010 - 09:41 PM
It must be in this part of the code that I have to change?
<head>
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
<meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" />
{/if}
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="generator" content="PrestaShop" />
<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />
{if isset($css_files)}
{foreach from=$css_files key=css_uri item=media}
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
{/foreach}
{/if}
[removed][removed]
[removed]
var baseDir = '{$content_dir}';
var static_token = '{$static_token}';
var token = '{$token}';
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
[removed]
[removed][removed]
[removed][removed]
[removed][removed]
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
[removed][removed]
{/foreach}
{/if}
{$HOOK_HEADER}
<meta name="google-site-verification" content="WX2lVmV2Zj9VaDpnU_HXqa32Avw2SJhGuSTyR5En6sI" />
</head>
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
{if !$content_only}
#14
Posted 21 February 2010 - 10:49 PM
Start at line #487
static public function getHomeMetaTags($id_lang)
{
global $cookie, $page_name;
/* Metas-tags */
$metas = Meta::getMetaByPage($page_name, $id_lang);
$ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? Configuration::get('PS_SHOP_NAME').' - '.$metas['title'] : Configuration::get('PS_SHOP_NAME');
$ret['meta_description'] = (isset($metas['description']) AND $metas['description']) ? $metas['description'] : '';
$ret['meta_keywords'] = (isset($metas['keywords']) AND $metas['keywords']) ? $metas['keywords'] : '';
return $ret;
}
static public function completeMetaTags($metaTags, $defaultValue)
{
global $cookie;
if ($metaTags['meta_title'] == NULL)
$metaTags['meta_title'] = Configuration::get('PS_SHOP_NAME').' - '.$defaultValue;
if ($metaTags['meta_description'] == NULL)
$metaTags['meta_description'] = Configuration::get('PS_META_DESCRIPTION', intval($cookie->id_lang)) ? Configuration::get('PS_META_DESCRIPTION', intval($cookie->id_lang)) : '';
if ($metaTags['meta_keywords'] == NULL)
$metaTags['meta_keywords'] = Configuration::get('PS_META_KEYWORDS', intval($cookie->id_lang)) ? Configuration::get('PS_META_KEYWORDS', intval($cookie->id_lang)) : '';
return $metaTags;
}
You want to change
$metaTags['meta_title'] = Configuration::get('PS_SHOP_NAME').' - '.$defaultValue;
To
$metaTags['meta_title'] = $defaultValue.' - '.Configuration::get('PS_SHOP_NAME');
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#15
Posted 21 February 2010 - 11:21 PM
Change this
$metaTags['meta_title'] = Configuration::get('PS_SHOP_NAME').' - '.$defaultValue;
To
$metaTags['meta_title'] = $defaultValue;.' - '.Configuration::get('PS_SHOP_NAME')
does not work for me.
/Stefan
#16
Posted 21 February 2010 - 11:23 PM
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#17
Posted 21 February 2010 - 11:33 PM
If you test the new-products or best-sales yoy still have the company name first.
/Stefan
#18
Posted 21 February 2010 - 11:35 PM
Modules: Attribute Wizard Pro | Ajax Filter | Website Translator | Facebook Comments | Mass Combination Editor | Database Export | Private Shop |Product List Attributes | OSC to PS Migration | ZenCart to PS | Cre-loaded to PS | Authorize.net | Sagepay | Fedex | UPS | USPS | Canada Post | Australia Post
Free Modules: Facebook Like | Google +1 | Rotating Fading Text | Quantity Discounts | Order IP Log
For the latest modules, updates and monthly discount coupons, follow Twitter or Facebook
Featured Module: Automatic Prestashop Backup - Backup your files and database on Amazon S3 Cloud server, locally, and via email for 3 layers of protection against data loss or server crash!
#19
Posted 21 February 2010 - 11:38 PM
/Stefan
#20
Posted 23 February 2010 - 11:51 AM
From 1265899539:
1. Change title! (header.tpl)
key words first, then shop name.
2. Change heading!
On product detail page change productname to h1. (product.tpl)
On category page, change category name to h1 and product name to h2. (category.tpl + product-list.tpl)
cms pages, page title = h1. (cms.tpl)
3. No h1 on the shop logo, this have no reason at all (a image is the most important heading on the page? what's the point?).
Thanks for an interesting post.
Pleace explain with examples how 1. should look like. Maybe I'm stupid but I do not understand it.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












