Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Probleme avec Canonical
 
owerling
Jr. Member
 
Total Posts:  8
Joined:  2010-03-19
 

Bonjour

j’ai un probleme sur magento 1.4.1.0 en prod

mes urls canoniques contiennent les paramètres qu’elles devraient ignorer… Exemple

<link rel="canonical" href="http://www.monsite.com/categorie/produit1.html?dir=desc&limit;=100&mode;=grid&order;=price" />

Quelqu’un peut me mettre sur la voie pour résoudre ça car ça me génère du coup du duplicate content

merci de vos conseils

 
Magento Community Magento Community
Magento Community
Magento Community
 
owerling
Jr. Member
 
Total Posts:  8
Joined:  2010-03-19
 

En fait ça vient de mon informaticien

voilà comment il a crée les canonicals dans le head.phtml

<?php
$hote = $_SERVER['REQUEST_URI'];
$host = $_SERVER['HTTP_HOST'];
$olivier = substr($host, 4);
$olivier_ = "http://www.".$olivier;
$hote_ = $olivier_."".$hote;
?>

<link rel="canonical" href="<?php echo $hote_; ?>” />

quelqu’un peut me dire quoi rajouter dans ce code pour supprimer les paramètres de l’url et en gros tout ce qui est derrière le ?

?dir=asc&limit;=100&mode;=grid&order;=position

 
Magento Community Magento Community
Magento Community
Magento Community
 
williamfitz
Jr. Member
 
Total Posts:  3
Joined:  2012-03-14
 

I recently came across your blogf and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often Visit my Website I recently Make these Pages read that quotes and tell me your opinions.Research Paper Help|Essay Writers|Write My Essay

 
Magento Community Magento Community
Magento Community
Magento Community
 
Berthanz
Jr. Member
 
Total Posts:  2
Joined:  2012-11-11
 

I across with that problem too. Thanks to my friend he manage to fix it. The sad thing is he didn’t tell me how.

_____________________
essays | essay format

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top