Advertisement
BenjaminS

TYPO3: Cannonical URL voor SEO multiple domains

Nov 21st, 2011
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #If there is duplicate content on another domain, you can easily add an cononical link to the head of the page.
  2.  
  3. # canonical link
  4. page.headerData.393 = COA
  5. page.headerData.393 {
  6.     wrap = <link rel="canonical" href="|" />
  7.    
  8.     # baseurl
  9.     10 = TEXT
  10.     10.value = http://www.domain.com
  11.    
  12.     # current url
  13.     20 = TEXT
  14.     20.data = getIndpEnv:REQUEST_URI
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement