Problem with canonical url

Phoca Guestbook - creating guestbooks in Joomla! CMS
worknmn
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 31 May 2013, 18:32
Location: Russia
Contact:

Problem with canonical url

Post by worknmn »

Joomla 3.2.1, Phoca Guestbook 3.0.1
Joomla generate canonical tag sach as

Code: Select all

<link href="http://***.ru/otzyvy?view=guestbook&cid=13" rel="canonical" />
It's happend becouse not exist file router.php
From last version(2.0.7) need change 'id' to 'cid'. After it, router.php start to work and joomla remove canonical tag.
Sorry for my English.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with canonical url

Post by Jan »

Hi, what you exactly mean with "change id to cid"?

Jan
If you find Phoca extensions useful, please support the project
worknmn
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 31 May 2013, 18:32
Location: Russia
Contact:

Re: Problem with canonical url

Post by worknmn »

I change:

$menuItem->query['id'] to $menuItem->query['cid']
$query['id'] to $query['cid']
$vars['id'] to $vars['cid']

Router file - sagip.ru/downloads/router.zip

Put it to /components/com_phocaguestbook
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with canonical url

Post by Jan »

Hi, thank you for the information, as I read it in joomla forum, etc., it seems the canonical feature does not work correctly in Joomla! yet, I will wait to Joomla! 3 stable LTS so I hope this will be Ok.

Thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply