Search
Other Sourcerer questions
Forum

Loading canonical-tag with articles anywhere url into head

Thomas Venugopal's Avatar Thomas Venugopal
Hi, is it possible to load the canonical tag into the head with the current article url? Something like this?
{source tag="head"}
  <link rel=“canonical“ href=“https://www.domain2.de/{article}[sefurl]{/article}“/>
{/source}

Use case: We use Joomla for different domains and need to customize the canonical tag for each content section/domain.
Peter van Westen's Avatar Peter van Westen ADMIN
Not sure why you would want to do something like that with Articles Anywhere and Sourcerer.
Best to solve this in the index.php of your template.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription