Post by konservasi » Sat May 03, 2014 8:24 am

I have upgrade my site to opencart 1.5.6

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');
in my catalog/controller/product/category.php

the result is google still index domain name/product..I want the index like domain name/category/product

thanks anyway..hope someone assist me

http://galerigis.com

http://galeritiket.net


Active Member

Posts

Joined
Wed May 05, 2010 2:29 am

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 104 guests