Direct Alias Pro - canonical links

Removes IDs from Joomla articles URLs.
Forum rules
This forum is not for any support questions/issues/features. Please use Support Center for such requests.
PolB
Posts: 4
Joined: November 12th, 2011, 3:16 pm
Name: Pavel Čornej

Direct Alias Pro - canonical links

Post by PolB » January 16th, 2017, 5:46 pm

Hello,
would be possible to add override to canonical links creation?

At this moment native joomla sef create canonical links according the way you entered the site, this means 2-4 canonical links on the same article. That's of course wrong.

It would be enough to add another table with article id and canonical url derived from the menu and possibiliy to edit the canonical link, is there as chance?

If there is I will prolong my subscription and create you a request ticket. Gladly. Because this would be a great thing!

PolB
Posts: 4
Joined: November 12th, 2011, 3:16 pm
Name: Pavel Čornej

Re: Direct Alias Pro - canonical links

Post by PolB » January 17th, 2017, 1:15 pm

That is if you have second domain, if not canonical links are not presented at all - but they should be or they should use 301 redirect.

The solution would be probably same like in previous case. I will try to test it on some new joomla installation.

User avatar
Admin
Site Admin
Site Admin
Posts: 1559
Joined: October 21st, 2008, 5:39 pm
Name: Administrator
Browser: Chrome

Re: Direct Alias Pro - canonical links

Post by Admin » January 18th, 2017, 1:40 pm

If a site displays multiple links per article, it means incorrect configuration and links usage. Joomla itself can't display different links per same article, the link is always same.

Direct Alias is not for canonical links, it's for shortening Joomla URLs. Unfortunately, I don't think that we need any canonical options for articles in this extension.

PolB
Posts: 4
Joined: November 12th, 2011, 3:16 pm
Name: Pavel Čornej

Re: Direct Alias Pro - canonical links

Post by PolB » January 23rd, 2017, 5:34 am

It comes from that shortening. The canonical wouldn't be needed if 301 redirect would be used but it's not.

The site is configured to use short urls via Direct Alias Pro, so the content is linked by domain.xy/id_nr.

This is the way how the content is linked from articles and how are linked the articles itself by Joomla. Category or menu are omitted.

Of course, when the same content is linked via menu the url is different, keeping the menu structure and category.

Which means that there are several links leading to the same article.

The best way would be keeping both structures, but automatically overriding the short ones by a full from the menu.

User avatar
Admin
Site Admin
Site Admin
Posts: 1559
Joined: October 21st, 2008, 5:39 pm
Name: Administrator
Browser: Chrome

Re: Direct Alias Pro - canonical links

Post by Admin » January 24th, 2017, 2:59 pm

Sorry, I don't understand, Joomla always generates same URL for an article if non-sef URL correct.