[TYPO3-english] SEO, shortcut, TS: How to avoid duplicate content?
Martin Bless
m.bless at gmx.de
Mon Nov 30 16:55:47 CET 2009
Suppose a pagetree
id=5 | A Topic (is a shortcut to id=6)
id=6 |-- Subtopic 1
id=7 |-- Subtopic 2
id=8 |-- Subtopic 3
In this case URLs index.php?id= 5 and index.php=id=6 are different but
deliver the same content.
Q1: Is this really bad in terms of SEO?
I had the idea to use this typoscript to insert a meta tag if the page
if doktype is 4 (= shortcut).
temp.meta157 = TEXT
temp.meta157.value = <meta name="robots" content="noindex,follow" />
temp.meta157.if {
value.data = page:doktype
equals = 4
}
page.headerData.5 < temp.meta157
Unfortunately this doesn't work because in both cases (?id=5 and
?id=6) the TSFE is filled with the data of page 6.
Q2: Ist there a way to figure out with typoscript if my current URL
refers to a shortcut?
H.A.N.D - have a nice day!
Martin
--
http://mbless.de
More information about the TYPO3-english
mailing list