Bug #23106
closedSimulateStatic can be exploited to make sites show up as duplicate content
0%
Description
Every TYPO3 site using simulateStaticDocuments can be "poisoned" as it is possible to submit infinite variations of an URL to search engines (i.e. blabla.10.0.html will output the same content as moreblabla.10.0.html ) as long as the PID is correct ---> duplicate content.
The same applies to wildcard subdomains even worse! -> This way the whole site can become duplicate content. Bummer!
The proper way is to check if an URL exists (incl. title and subdomain prefix). If the title is wrong redirect with 301 to the correctly titled URL. If the page does not exist do a redirect with 301 to somewhere or 404 (which is already covered in the install tool however it is using the wrong redirection type).
If you need more input just ask ( jh@venetowebdesign.com )
This issues was previously part of #15128. I split them of, as the solution to this part has to be integrated in SimulateStatic (and not only in the Core in general).
(issue imported from #M15007)
Updated by Steffen Gebert over 14 years ago
Think that's no news.
Why not using a modern technique like realurl instead of simulatestatic?
Updated by Klaus Hinum about 14 years ago
A solution would be to use the cannonical tag to avoid duplicate content for search engines.
<link rel="canonical" href="http://www.domain.de" />
e.g.
// Typoscript Constants
baseUrlOn = 1
baseUrl = http://www.domain.de/
// Typoscript Setup
lib.canonicalTag = TEXT
lib.canonicalTag {
typolink.parameter.data = TSFE:id
typolink.returnLast = url
wrap = <link rel="canonical" href="{$baseUrl}|" />
}
page.headerData.1000 < lib.canonicalTag
taken from here
http://www.just4freaks.de/tutorials/typo3-einbinden-von-canonical-tag
Updated by Christian Kuhn over 11 years ago
- Category deleted (
Communication) - Status changed from New to Rejected
- Target version deleted (
0)
simulate static is not included in the core anymore since 6.0 and this issue will not be solved in 4.5 / 4.7 anymore.