klox7 VIP
Total posts: 914
29 Apr 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

Last Modified: 12 May 2015


Sergey
Total posts: 13,748
30 Apr 2015 13:01

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


klox7 VIP
Total posts: 914
02 May 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 May 2015 09:36

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


klox7 VIP
Total posts: 914
06 May 2015 09:51

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


Sergey
Total posts: 13,748
07 May 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 May 2015 08:29

Maybe extend main router?


Sergey
Total posts: 13,748
12 May 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().

Powered by Cobalt