?
avatar Sulpher
Sulpher
30 Dec 2020

I am experiencing with System - SEF plugin:
Снимок экрана 2020-12-30 в 10 38 15

I go to System - SEF, type my domain.
Well, all com_content articles get canonical links.
From the first look, it is logical. But the problem is that the plugin does not generate the correct link.
E.g. we have the following page:
articles/536-hello-world
Let's add UTM tag:
articles/536-hello-world?utm=test

In fact, the plugin will generate:
<link href="[DOMAIN]/articles/536-hello-world?utm=test" rel="canonical" />

Thereby, the main goal of canonical link does not working with SEF Joomla plugin.

If we open the page as:
articles/536-hello-world?utm=test
The canonical tag should be as follow:
articles/536-hello-world

Tested with Joomla 3.9.23

avatar Sulpher Sulpher - open - 30 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - change - 30 Dec 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Dec 2020
avatar Sulpher Sulpher - change - 30 Dec 2020
The description was changed
avatar Sulpher Sulpher - edited - 30 Dec 2020
avatar infograf768
infograf768 - comment - 30 Dec 2020

The sef Site Domain parameter only purpose is to redirect to another domain with same structure/content, if desired.

Screen Shot 2020-12-30 at 10 31 07

Its aim is not to avoid duplicate content urls for robots as the original "canonical" wording means.

avatar Sulpher
Sulpher - comment - 30 Dec 2020

The sef Site Domain parameter only purpose is to redirect to another domain with same structure/content, if desired.

If this parameter has value, then canonical tag appears in the HTML source.
Then let it consider as a feature request since canonical link is a very useful option that impacts site SEO.

avatar simbus82
simbus82 - comment - 30 Dec 2020

I am experiencing with System - SEF plugin:

Unfortunately this is one of the dangerous Joomla plugins ...
Refers to a Canonical of DOMAIN, not the usual Canonical SEO for pages.
(Why??? Who needs a domain canonicalization when for a domain migration is needed a completely different method, like a good redirect strategy?)

And yes, joomla lacks a properly functioning system for canonicals.
https://extensions.joomla.org/tags/url-canonicalization/
Here you will find some useful plugins, automatic or manual.

avatar infograf768
infograf768 - comment - 30 Dec 2020

I do agree it would be nice to have a native real canonical functionality in J.

avatar brianteeman
brianteeman - comment - 30 Dec 2020

(Why??? Who needs a domain canonicalization when for a domain migration is needed a completely different method, like a good redirect strategy?)

It exists for people who have more than one domain name pointing to their site

avatar Sulpher
Sulpher - comment - 30 Dec 2020

I am experiencing with System - SEF plugin:

Unfortunately this is one of the dangerous Joomla plugins ...
Refers to a Canonical of DOMAIN, not the usual Canonical SEO for pages.
(Why??? Who needs a domain canonicalization when for a domain migration is needed a completely different method, like a good redirect strategy?)

I do agree: this is not what Joomla should do. There are .htaccess rules allowing to solve such a task.

And yes, joomla lacks a properly functioning system for canonicals.
https://extensions.joomla.org/tags/url-canonicalization/
Here you will find some useful plugins, automatic or manual.

Thanks, but the main idea is to add such a feature as a Joomla core.

avatar ReLater
ReLater - comment - 30 Dec 2020

And yes, joomla lacks a properly functioning system for canonicals.
https://extensions.joomla.org/tags/url-canonicalization/
Here you will find some useful plugins, automatic or manual.

  1. Why should Joomla have it in core then?

  2. Did you really test them thoroughly? In years I haven't found a canonical extension that does its work well. I only have seen more horrible and time-consuming chaos on the sites concerning SEO than benefits in the end.

I still prefer redirects whenever a "DC" link occurs in search engines. Plus a correctly configured and unambiguous menu structure.

EDIT: We had this discussion already several times in the past.

avatar Sulpher
Sulpher - comment - 30 Dec 2020
  1. Why should Joomla have it in core then?

In 99% of cases, canonical domain is a useless feature, at least, it is a very specific task and in most cases, there are .htaccess rules and hosting panel which does help with moving the domain. However, this plugin exists.
Why not extend it with a more useful option?

  1. Did you really test them thoroughly? In years I haven't found a canonical extension that does its work well. I only have seen more horrible and time-consuming chaos on the sites concerning SEO than benefits in the end.
    I still prefer redirects whenever a "DC" link occurs in search engines. Plus a correctly configured and unambiguous menu structure.

The site structure always should be correct, but it is not enough.
However, as I mentioned, there might be situations when Search engine can index pages with prefixes. E.g. UTM tag to be used for statistics or promotion campaigns.

https://moz.com/learn/seo/canonicalization#:~:text=A%20canonical%20tag%20(aka%20%22rel,content%20appearing%20on%20multiple%20URLs.

avatar ReLater
ReLater - comment - 30 Dec 2020

From my point of view canonicals are unnecessary for 99.9% of pages. Theoretically Joomla knows diverse links that lead to the same page. The only way to protect your search index from "nonsense" links is to not let them occur on your site. No plugin will be able to set the correct and wanted canonical for all of these variants => chaos. It begins with the fact that any URL must be checked by Joomla to decide which canonical to set.

E.g. UTM tag to be used for statistics or promotion campaigns.

Empirical value: I myself think there should be a solution for each individual site that uses things like that instead of establishing unreliable, performance eating solutions in core for edge cases.

The main point. You said:

Here you will find some useful plugins, automatic or manual.

Why a solution in core then? Users that have no idea what wrong canonicals will damage will activate it blindly because a stupid SEO tool tells them "Ooops! No canonical found."

avatar Sulpher
Sulpher - comment - 30 Dec 2020

Empirical value: I myself think there should be a solution for each individual site that uses things like that instead of establishing unreliable, performance eating solutions in core for edge cases.

It depends on how it will be implemented.

The main point. You said:

Here you will find some useful plugins, automatic or manual.

It is not my quote.

Why a solution in core then? Users that have no idea what wrong canonicals will damage will activate it blindly because a stupid SEO tool tells them "Ooops! No canonical found."

This approach is wrong. If someone has no enough skills, it is not a reason to stop improving CMS.
There might be a tooltip description and a URL to read what canonical links are.

As for indexing, there is not only Google.
Here is Yandex search engine (Russian) which indicates that the page has no canonical link.
Снимок экрана 2020-12-30 в 17 05 59

avatar ReLater
ReLater - comment - 30 Dec 2020

Simple: Start programming or at least defining! A canonical plugin/extension in core must match all needs of all users/use cases.

If Yandex or SEO tools suggest errors with their "non-canonical" marks that shouldn't be a measure for Joomla as long it can't provide a reliable and perfect solution.

Just setting canonicals is not a protection against DC. You simply don't see these warnings any more.

avatar ReLater
ReLater - comment - 30 Dec 2020

But we are away from your issue that seems to be a warrantable.

avatar simbus82
simbus82 - comment - 30 Dec 2020

From my point of view canonicals are unnecessary for 99.9% of pages.

It's your point of view, ok. But it is wrong.

Why a solution in core then? Users that have no idea what wrong canonicals will damage will activate it blindly because a stupid SEO tool tells them "Ooops! No canonical found."

No no... don't hide behind the "unskilled user" problem.

Canonical are needed in 2020, for:

  • different "surfaces" where website can show content: amp, mobile, display, etc.
  • cleaning of dinamical urls (shop & filters for example)
  • many url (SEF, not-SEF, multi-category, aliasing) that referer to same page (JOOMLA!!!!!!!!)
  • protection from bad backlinking (www, not-www, http/https, etc. remember how Search Engine bot/spiders works)
  • syndication of posts and content
  • crawl budget with big webites
  • cannibalization protection for webpages that cannot be redirected
  • etc, etc.

Theoretically Joomla knows diverse links that lead to the same page. The only way to protect your search index from "nonsense" links is to not let them occur on your site. No plugin will be able to set the correct and wanted canonical for all of these variants => chaos. It begins with the fact that any URL must be checked by Joomla to decide which canonical to set.

Then, is it difficult to manage Joomla Canonicals? Yes, it is!
But a simple field in the article and menu manager can be really helpful for example, so we can setup it manually.
In the future someone will can think about developping an automatic feature.

avatar Sulpher
Sulpher - comment - 30 Dec 2020

@ReLater

Simple: Start programming or at least defining! A canonical plugin/extension in the core must match all needs of all users/use cases.

Listen, have you learned such a definition as a polite discussion? If you took a responsibility to "teach" me what to do, I rather would say you should google what are canonical URLs first.
https://yoast.com/rel-canonical/

@simbus82 has already given the best example above why it's important.

If Yandex or SEO tools suggest errors with their "non-canonical" marks that shouldn't be a measure for Joomla as long it can't provide a reliable and perfect solution.

Russian is spoken by about 300 millions people and there are so many websites made with Joomla and since OSM does the best to cover all possible communities, then counting such a request could positively impact Joomla reputation.
But it's even not about Yandex, the question is about improving the existing plugin.
I just shared my thoughts since Joomla is the community and users' feedbacks matters, so as we can see, I am not the only person who thinks canonical links are a must-have.

avatar alikon
alikon - comment - 30 Dec 2020
avatar infograf768 infograf768 - change - 30 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-30 18:23:55
Closed_By infograf768
avatar infograf768 infograf768 - close - 30 Dec 2020

Add a Comment

Login with GitHub to post a comment