it would be great to have canonical URLs for information pages, too.
We did this as a customization in the catalog/controller/information/information.php with the lines below. But it would be nice to see this in the core.
Code: Select all
// CUSTOMIZATION BEGIN
// CANONICAL URL
$this->load->model('tool/seo_url');
$this->document->links = array();
$this->document->links[] = array(
'href' => $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=' . $this->request->get['information_id']),
'rel' => 'canonical'
);
// CUSTOMIZATION END
Benjamin