so far so good..right now I want to make canonical url in my site
I have install code like
Code: Select all
$pathx = explode('_', $this->request->get['path']);
$pathx = end($pathx);
$this->document->addLink($this->url->link('product/category', 'path=' . $pathx ), 'canonical');
the result is google still index domain name/product..I want the index like domain name/category/product
thanks anyway..hope someone assist me