Joomla rel="canonical"
- Greg
- Topic Author
- Offline
- New Member
as Google said recently: googlewebmastercentral.blogspot.com/2009...-your-canonical.html
The <link rel="canonical" href="the url" /> could be great for joomla too.
But actually there's only one module and on plugin to do that.
The module is a little complicated I think and certainly not always very efficient, and at last, this is a module and must be publish on all. So welcome some white blank blocs on some templates.
http://www.bretteleben.de/lang-en/joomla/canonical-url-modul.html
But there's a much simpler idea emerged from this site Joomla Canonical Tag
This is a little plugin I have tried it today with sef advance (just by replace the com_sh404 by com_sef) and it does it well, except that this is not the SEF rewrite url that is retrieved.
So I'm wondering if it could be a part of the SEF Advance configuration options and with the rewrite url ?
Could be great.
Anyway for the moment we have no idea of the side effects of this tag for joomla.
So what do you think of that ?
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
Still not sure about benefits since SEF Advance is generating unique URLs anyway, there should be no duplicates. The only duplicate URLs I can think of could appear with 3rd party components or with some custom query string added or so.
Then, since you should specify the canonical URL yourself, I can only see this feasible in manual Alias section, in the same way that you now can add custom title and metadata.
On pages where it's not specified it could be SEF Advance URL generated with request input.
If you have other ideas let me know, will think about it little bit more but I agree it could be added.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- caribk
- Offline
- New Member
- Thank you received: 0
Still not sure about benefits since SEF Advance is generating unique URLs anyway, there should be no duplicates. The only duplicate URLs I can think of could appear with 3rd party components or with some custom query string added or so.
The custom query string example is the reason I'm looking for this..
I add Google Analytics style landing criteria (utm_src, utm_medium, etc.) to URLs for tracking purposes, so being able to specific the unique SEF Advance URL in a canonical tag would be very beneficial.
The simple way to achieve might be for SEF Advance to just put the unique URL into a global var, which can easily be reference in a template (or is this already available somewhere?):
..
<link rel='canonical' href='<? echo $sefUniqueURL; ?>'>
</head>
Please Log in or Create an account to join the conversation.
- Greg
- Topic Author
- Offline
- New Member
www.gnomeontherun.com/resources/joomla/J...anonical-Plugin.html (attached too)
And there is a module with sort of parameters approach methods:
extensions.joomla.org/extensions/site-ma...etadata/7465/details
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
The custom query string example is the reason I'm looking for this..
I add Google Analytics style landing criteria (utm_src, utm_medium, etc.) to URLs for tracking purposes, so being able to specific the unique SEF Advance URL in a canonical tag would be very beneficial.
Got it.
The simple way to achieve might be for SEF Advance to just put the unique URL into a global var, which can easily be reference in a template (or is this already available somewhere?):
.. <link rel='canonical' href='<? echo $sefUniqueURL; ?>'> </head>
Or just make SEF Advance insert it to header automatically.
OK, will probably put it in the next version. Thanks for the input.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.