klox7 VIP
Total posts: 914
29 Апр 2015 17:04

Hi,

is there any specific reason why items are accessible on 2 url's?

For example if we have section->category->record then this record is accessible on

menu-alias/item/record-alias and menu-alias/item/category-alias/record-alias

Regards

Последние изменения: 12 Май 2015


Sergey
Total posts: 13,748
30 Апр 2015 13:01

You change URL manually or you get those URLs somehow generated for you?


klox7 VIP
Total posts: 914
02 Май 2015 08:07

This links are generated in Notifications page and notifications module. You can also do this by changing link manually.


Sergey
Total posts: 13,748
06 Май 2015 09:36

But there should be canonical metatag that will not allow double URL for crawlers.


klox7 VIP
Total posts: 914
06 Май 2015 09:51

You are right, there is. Are this duplicates in general a Joomla issue?


Sergey
Total posts: 13,748
07 Май 2015 03:53

No it is Cobalt issue. When I build URLs I do not know and there is no parameter, should category be required or not.


klox7 VIP
Total posts: 914
07 Май 2015 08:29

Maybe extend main router?


Sergey
Total posts: 13,748
12 Май 2015 10:49

It is not exactly there. Router encodes URI. If URI foes not contain cat_id URL woun't either. The change have to applied to URL helper class record method. Url::record().

Работает на Cobalt