#505 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Friday, 17 January 2020 11:55 EET

herve D
Hello,
I have several articles (joomla) or events (dpcalendar) which can be displayed with different menu links (which makes duplicates).
Can your extension (community or pro) take this need to assign a canonical url to a menu? link to the resource to do it?
Regards

Lefteris Kavadas
Hi,

Route 66 does this and many other things. It will add a canonical link to the page and even redirect to the canonical URL. You can turn on/off this functionality at the component options. This functionality is included in the free version so you can download and evaluate it. There is no need to set any URL patterns in order to enable this.

Let me know if you have more questions.

Regards

herve D
Hello,
Thank you for your reply. I got it right.
Your extension seemed to me to simply meet this need.
So I have a problem to configure your extension for the 2nd menu (I cannot use the menu alias because it is already used elsewhere).
<link rel="canonical" href="https://joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs">
<link rel="canonical" href="https://joomtest-onsort.88h.ovh/fr/evenements-une/la-chute-des-murs">
Look at the source code of the 2 links which both have a different canonical address
If you want admin codes (because I don't speak English very well) and you can quickly fix this, I will remember it :-)
Regards

Lefteris Kavadas
Hi,

You don't have to configure anything in Route 66. Just build your menus as you wish and the rest is handled automatically by Route 66. I navigated to some pages in your site and I don't see any issues. Can you please provide the URL that has the issue?

Regards

herve D
HI,
Thank you for watching .
The 2 urls in question are those indicated, in the source code above.
They both end up on the same page.
I would like the canonical link
<link rel="canonical" href="https://joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs">
joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs
joomtest-onsort.88h.ovh/fr/evenements-une/la-chute-des-murs
be unique on all pages of the site showing dpcalendar events
Regards
ps: I don't put urls to have duplicates with the production site

herve D
Hello,
Have you been able to watch? do you want access?
Regards

Lefteris Kavadas
I still don't get the issue.

The canonical of the page https://joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs is https://joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs which is correct.

The canonical of the page https://joomtest-onsort.88h.ovh/fr/evenements-une/la-chute-des-murs is https://joomtest-onsort.88h.ovh/fr/evenements-une/la-chute-des-murs which is also correct.

Those pages are different and that's why they get a different canonical.

Regards


herve D
HI,
I do not understand anymore !
If you will see on the site, there is the same page "la-chute-des-murs" and unfortunately 2 different paths:
a) "../evenements-une/eve"
b) "../agenda/eve"
The canonical url is good for choosing 1 of the paths to the page !?
Regards

Lefteris Kavadas
Those pages are not the same. The one is the menu item with ID 162 and the other one is the menu item with ID 844.
If both menus are leading to the same resource then just unpublish one of them.

Route 66 handles duplicate URLs for the same resource. What you are trying to do is set manually the canonical link for those pages which is not supported by Route 66.

I hope this is more clear now. If not, let me know.

Regards

herve D
Hi,
ok I understand better now, the idea of ​​canonical url, by route66, is not possible. A priori difficult (or impossible) even with another extension or development !?

Redirection might be a solution, but route66 does not support dpcalendar. Another extension perhaps? (but heavy to solve this problem)

If I ban in robots.txt /evenements-une/ will that be enough?

If you have another idea to solve this problem (you understand that this will cause me a problem if GG indexes the 2 urls.
In any case, thank you for answering me
Regards

Lefteris Kavadas
Yes, you can always use some code in a layout override of the extension you are using:

$document = JFactory::getDocument();
$document->addHeadLink('https://joomtest-onsort.88h.ovh/fr/agenda/la-chute-des-murs', 'canonical');


Modifying robots.txt is also an option. However, I still don't get why you have two different pages with the same content.

Regards

herve D
HI,
Thank you for your support
I found the solution by modifying my dozens of links in the dpcalendar categories.

I do not see much interest in the free version because the joomla articles are SEF with the joomla router.
I also do not see too much the difference between SEO scores and SEO analysis?

I think that your paid version is especially interesting the support of other extensions than articles and with SEO analysis.

I hesitate to buy the pro version, are you going to make the joomla 4 version? and do you have a roadmap of the future for the 2 versions?
Regards

Lefteris Kavadas
Hi,

If the free version covers your needs then this is completely fine! That's why we make a free version!

However, the Joomla cannot generate any kind of URL like Route 66. For example, in Route 66 you can generate URLs like:
2020/01/17/my-article-alias

Or even just the alias(without using a menu):
/my-article-alias


The SEO analysis is using the famous Yoast engine under the hood. So, it's a nice to have feature for most of the users. Again, the articles integration is included in the free version.

We will update all our extensions to work with Joomla 4 when the first beta is out.

Please let me know if you have any questions.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review