osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> Duplicate content a cause de filter id
gaet
posté 10 Apr 2014, 15:27
Message #1


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 122
Inscrit : 23-July 09
Lieu : Aveyron
Membre no 25830



Bonjour, j'ai un problème avec des pages crawlés par Google du type :

/catalog/index.php?manufacturers_id=14&filter_id=32&page=1&sort=2a&language=fr‎, /catalog/index.php?manufacturers_id=14&filter_id=32&language=fr&page=1&sort=2a‎,
/catalog/fournisseur-m-11.html?page=8&sort=3d&filter_id=113‎

Je ne sais pas ou Google trouve ses pages avec attribut filter_id. Cela me provoque du contenu dupliqué a cause du tri. Je n'ai pourtant pas de tri pour les fabricants.

Ce message a été modifié par gaet - 10 Apr 2014, 16:02.


--------------------
OScommerce 2.2RC1 : featured-products, Ajax shopingcart, who's online enhancement, product lising columns, how did you hear, Easy graphical border, ot discount coupons, show sub categories onmouse over, maincats, URL Rewriting, header tag seoV 3.1.8
Go to the top of the page
 
chti_poupon
posté 10 Apr 2014, 16:42
Message #2


Ceinture noire OSC
Icône de groupe

Groupe : TechDev
Messages : 2757
Inscrit : 9-September 08
Lieu : Douai
Membre no 22915



Bonjour
Bien que ne connaissant pas toutes les contribs implantées, il doit bien y en avoir une avec ce fameiux filter_id.
Quoi qu'il en soit, il suffit d'aller dans GG:
outils pour webmasters - exploration -paramètres d'url - ajouter
mettre filter_id, puis choisir restriction et toutes les url

Puis attendre, attendre encore, attendre toujours.... plusieurs semaines !!

Test duplicate contents disparaîtront peu à peu.

Belle journée !


Chti poupon
Go to the top of the page
 
gaet
posté 11 Apr 2014, 08:05
Message #3


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 122
Inscrit : 23-July 09
Lieu : Aveyron
Membre no 25830



Bonjour, merci le paramètre était déjà présent avec 89 urls. J'aurais quand même bien voulu savoir comment cela se générait. Ce serait donc du a une contrib ?


--------------------
OScommerce 2.2RC1 : featured-products, Ajax shopingcart, who's online enhancement, product lising columns, how did you hear, Easy graphical border, ot discount coupons, show sub categories onmouse over, maincats, URL Rewriting, header tag seoV 3.1.8
Go to the top of the page
 
chti_poupon
posté 11 Apr 2014, 08:22
Message #4


Ceinture noire OSC
Icône de groupe

Groupe : TechDev
Messages : 2757
Inscrit : 9-September 08
Lieu : Douai
Membre no 22915



Ben, cherches filter_id sur ta page index.php !
Tu dvrais trouver une remarque qui te renseigne.
Belle journée !
Chti poupon
PS : Supprimer ce paramètre - possiblement inutile maintenant - provoquera une autre remarque de GG qui s'étonnera de ne plus le traouve: il faut attendre qu'il n'en tienne plus compte !!!
Go to the top of the page
 
gaet
posté 11 Apr 2014, 08:31
Message #5


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 122
Inscrit : 23-July 09
Lieu : Aveyron
Membre no 25830



Oui j'ai rechercher tout a l'heure. J'ai notamment ses lignes de codes avec l'attribut
Code
// show the products of a specified manufacturer
    if (isset($HTTP_GET_VARS['manufacturers_id'])) {
      if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
// We are asked to show only a specific category
        $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
      } else {
// We show them all
        $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
      }
    } else {
// show the products in a given categorie
      if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
// We are asked to show only specific catgeory
        $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
      } else {

Je vais donc rien changer. Bonne journée

Ce message a été modifié par gaet - 11 Apr 2014, 08:31.


--------------------
OScommerce 2.2RC1 : featured-products, Ajax shopingcart, who's online enhancement, product lising columns, how did you hear, Easy graphical border, ot discount coupons, show sub categories onmouse over, maincats, URL Rewriting, header tag seoV 3.1.8
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 29th March 2024 - 16:22
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)