Skip to content

Instantly share code, notes, and snippets.

@katzefudder
Created June 25, 2014 13:32
Show Gist options
  • Save katzefudder/41059853931bbf2cd48f to your computer and use it in GitHub Desktop.
Save katzefudder/41059853931bbf2cd48f to your computer and use it in GitHub Desktop.
canonical tag for ext:news
tmp.canonicalNews = TEXT
tmp.canonicalNews {
typolink {
parameter = 9
useCacheHash = 1
# id=9&tx_news_pi1%5Bnews%5D=3622&tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Baction%5D=detail&cHash=537469ddbb32fa455a07c23933648a96
additionalParams.dataWrap = &tx_news_pi1[news]={GP:tx_news_pi1|news}&tx_news_pi1[controller]={GP:tx_news_pi1|controller}&tx_news_pi1[action]={GP:tx_news_pi1|action}
returnLast = url
}
wrap = <link rel="canonical" href="{$pageURL}|" />
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment