Jump to content

meta name="description" et meta name="keywords" n'appraissent pas


Recommended Posts

Bonjour,

 

le site www.facteurshop.com est en ligne depuis novembre 2012.

J'ai bien renseigné sous admin, dans SEO & URL, à index.php les champs les divers champs de mé@ta-tag (vois capture écran) or sous google rien n'apparait et dans le code source effectivement

les <meta name="description" content="" /> et <meta name="keywords" content=""> n'appraissent pas.

Ayant travaillé sur d'autres shop sous prestshop où je n'ai pas du tout rencontré ce problème, je sollicite votre aide car je ne trouve pas où est le soucis pour c esite.

 

Site hebergé chez OVH, version prestashop v 1.4.6.2

 

Par avance je vous remercie,

 

anne

post-61901-0-62235000-1363855105_thumb.png

post-61901-0-87867100-1363855112_thumb.png

Link to comment
Share on other sites

bonjour,

 

alors oui et non car dans votre code apparait quand même :

<meta name="description" content="Vos clés cd à prix cassés !" />

<meta name="keywords" content="clés cd,cle cd,cdkey,cles cd originale,cles steam,cles origin,cles cd pour steam,cles pas cher,acheter cles cd,jeux pc pas cher,acheter d

 

alors que moi même pas alors que tout est bien renseigné. mais sous pagerank et google effectiment votre description n'apparait pas.

 

Quelqu'un sur ce forum pour ous aider?

Merci par avance

 

anne

Link to comment
Share on other sites

Bsr,

 

Copiez le code de votre fichier header.tpl ici on pourra regarder.

 

Vous n'avez pas fais de modification du fichier tools ?

 

Réactivez le thème par défaut et refaite le test dans les outils d'extraits enrichis

 

Bonjour, merci pour votre retour voici le fichier header.tpl :

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 9140 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
<head>
<!-- cb title remove:  {$meta_title|escape:'htmlall':'UTF-8'} -->	
 <title>Facteur Céleste</title>

{if isset($meta_description) AND $meta_description}
 <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
 <meta name="keywords" content="{$meta_keywords|escape:html:'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?{$img_update_time}" />
 <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
 <script type="text/javascript">
  var baseDir = '{$content_dir}';
  var static_token = '{$static_token}';
  var token = '{$token}';
  var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
  var priceDisplayMethod = {$priceDisplay};
  var roundMode = {$roundMode};
 </script>
{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}
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
{/foreach}
{/if}
 {$HOOK_HEADER}
</head>

<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
{if !$content_only}
 {if isset($restricted_country_mode) && $restricted_country_mode}
 <div id="restricted-country">
  <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
 </div>
 {/if}
 <div id="page">
  <!-- Header -->
  <div id="header">
   <a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
 <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
   </a>
   <div id="header_right">
 {$HOOK_TOP}
   </div>
  </div>
  <div id="columns">
   <!-- Left -->
   <div id="left_column" class="column">
 {$HOOK_LEFT_COLUMN}
   </div>
   <!-- Center -->
   <div id="center_column">
{/if}

 

pas de modif du fichier tools. le site étant en ligne je me vois mal réactiver le thème par defaut.

 

anne

Link to comment
Share on other sites

Plop,

 

Remplacez ca :

<head>
<!-- cb title remove:  {$meta_title|escape:'htmlall':'UTF-8'} -->	  
 <title>Facteur Céleste</title>
{if isset($meta_description) AND $meta_description}
 <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
 <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}

 

Par

 

<head>
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
 <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
 <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}

 

Rajoutez aussi cette ligne pour la compatibilité IE parce que votre site s'affiche mal sur IE :

 

<meta http-equiv="X-UA-Compatible" content="IE=9">

 

Revenez nous voir dès que c'est fait, pour l'activation du thème par défaut, vous switchez en maintenance pendant 2minutes l'histoire de faire le test mais je crois que pour la meta title ca devrait le faire avec cette modif

 

PS: La police est trop petite dans votre footer c'est peu lisible

Edited by Romain28 (see edit history)
Link to comment
Share on other sites

Bonjour Romain et merci pour votre retour et remarques.

 

Concernant votre conseil de mettre

 

<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>

 

et non <title>Facteur Céleste</title>

c'est ce que j'avais hier, j'ai fait la modif pour voir si changement. Je remets quand même comme vous me le préconisez.

Mais donc le pb ne viens pas de là...

Je rajoute toutefois la ligne de code pour la compatibilité avec IE. Merci

Concernant la taille typo du footer, depuis novembre je n'ai pas eu de retour sur ce sujet, vous êtes sous PC?

 

quand je regarde sur pagerank, clairement le descriptif n'apparait pas...voir capture ecran

 

Image%20141.png

Edited by anne_r (see edit history)
Link to comment
Share on other sites

J'ai le même soucis.

Ma dercription bien que remplie dans SEO URL...index... n'apparait pas sur google.

Et quand je teste le pagerank...j'ai ceci :

 

Adresse : http://www.essentiel71.fr/ Titre : Essentiel Description : Accueil · Marques · Brial · Enjoy · Caty Lesca · 80 Jours · Fluide · Produits · Robe ·

Pantacourt · Jupe · Sacs à mains · Accessoires · Pantalon · top · Veste ...

 

C'est bof bof...

Link to comment
Share on other sites

Pour le title, j'avais pas fait attention au fait que vous avez des liens sitelink !

 

Les liens sitelinks rendent votre balise title (page d'accueil uniquement) Obsolète.

 

Ne remettez surtout pas la ligne de title telle que vous l'aviez fait ! Sinon toutes les pages de votre site auront le même title !

 

Pour la meta description, soit c'est un Override que vous avez fait qui fout la merde... Soit c'est un module mal codé qui est accroché au Hook Header ou alors une trop grosse compression du code.

 

Mais en regardant le code source de la page je ne vois pas les modifications que je vous ai conseillé ;) Pire encore, aucune ligne de meta description.

 

Je suis sur Win7 64b en 1900 résolution

 

Remplacez tout votre header par ça :

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 9140 $
*  @license	http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
<head>
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
 <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9">
<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?{$img_update_time}" />
 <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
 <script type="text/javascript">
  var baseDir = '{$content_dir}';
  var static_token = '{$static_token}';
  var token = '{$token}';
  var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
  var priceDisplayMethod = {$priceDisplay};
  var roundMode = {$roundMode};
 </script>
{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}
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
{/foreach}
{/if}
 {$HOOK_HEADER}
</head>
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
{if !$content_only}
 {if isset($restricted_country_mode) && $restricted_country_mode}
 <div id="restricted-country">
  <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
 </div>
 {/if}
 <div id="page">
  <!-- Header -->
  <div id="header">
<a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
	 <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
</a>
<div id="header_right">
	 {$HOOK_TOP}
</div>
  </div>
  <div id="columns">
<!-- Left -->
<div id="left_column" class="column">
	 {$HOOK_LEFT_COLUMN}
</div>
<!-- Center -->
<div id="center_column">
{/if}

 

EDIT:

 

Ma dercription bien que remplie dans SEO URL...index... n'apparait pas sur google.

 

Vous avez recherché le nom de votre boutique ? Si oui, c'est normal.

Essayez de rechercher : "mot clef + nom de boutique"

 

Exemple :

 

Je recherche sur google : "ovh"

  • je tombe sur OVH + Liens sitelinks
     
    Ovh

Je recherche sur google toujours : "internet ovh"

Pourtant, même page et même adresse donc même Title ? Oui mais Non puisque Google juge plus pertinent d'afficher ou non tout le titre ;) Il est pourtant bien renseigné ! Tout est question de requêtes

Edited by Romain28 (see edit history)
Link to comment
Share on other sites

Romain,

j'ai fait les modifs ce matin. Or là je vois effectivement dans le code source que mon changement du header.tpl n'a pas été pris en compte?

 

par ailleurs initialement (voir capture ecran et descriptif de mon pb), le header.tpl etait OK et les champs meta and co sont renseignés sous admin aussi pourtant quand je regarde le code source en ligne comme vous je ne vois aucune ligne de meta description.

post-61901-0-17896200-1363963126_thumb.png

Link to comment
Share on other sites

C'est tout à fait normal !

  1. Vous avez remis le title : Facteur Céleste donc répercuté sur toute les pages ! = DUPLICATE CONTENT
  2. Je ne vois pas de ligne concernant votre meta description
  3. Pareil pour les keywords

En revanche, si vous avez laissé les modifs telles que je vous les ai donné, il faut Forcer la compilation et Désactiver le cache dans Préférences>Performances

 

Des que c'est fait, revenez nous voir ;)

Link to comment
Share on other sites

bonjour,

je viens de refaire la manip.

Vendredi le fichier header.tpl ne se mettait pas à jour, d'où le title Facteur Celeste toujours présent pourtant modifié.

Il semble que le header.tpl vient de se mettre à jour, toutefois comme vous pouvez le constater on ne vois toujours pas la meta description et j'ai pourtant mis le fichier suivant en ligne :

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 9140 $
*  @license	 http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
<head>
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
 <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9">
<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?{$img_update_time}" />
 <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
 <script type="text/javascript">
  var baseDir = '{$content_dir}';
  var static_token = '{$static_token}';
  var token = '{$token}';
  var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
  var priceDisplayMethod = {$priceDisplay};
  var roundMode = {$roundMode};
 </script>
{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}
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
{/foreach}
{/if}
 {$HOOK_HEADER}
</head>
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
{if !$content_only}
 {if isset($restricted_country_mode) && $restricted_country_mode}
 <div id="restricted-country">
  <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
 </div>
 {/if}
 <div id="page">
  <!-- Header -->
  <div id="header">
	<a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
			 <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
	</a>
	<div id="header_right">
			 {$HOOK_TOP}
	</div>
  </div>
  <div id="columns">
	<!-- Left -->
	<div id="left_column" class="column">
			 {$HOOK_LEFT_COLUMN}
	</div>
	<!-- Center -->
	<div id="center_column">
{/if}

 

J'ai pourtant renseigner correctement les meta voir capture écran jointe.

Faut il que mes pages soient indexees? car là elles ne le sont pas.

 

Merci de votre aide

anne

post-61901-0-20635300-1364289457_thumb.png

Edited by anne_r (see edit history)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...