[TYPO3] search and tt_news

Daniel Pötzinger operation-lan at gmx.de
Thu Dec 7 19:43:30 CET 2006


René Schade wrote:
> I have a problem with indexed_search and tt_news
> 
> The same news-item is indexed several times.
> 
> E.g.:
> 
> http://www.site.dk/index.php?id=79&L=0&tx_ttnews[backPid]=44&tx_ttnews[tt_news]=152&cHash=3bd8a34206
> http://www.site.dk/index.php?id=79&L=0&tx_ttnews[backPid]=101&tx_ttnews[tt_news]=152&cHash=046daf3e65
> http://www.site.dk/index.php?id=79&L=0&tx_ttnews[backPid]=2&tx_ttnews[tt_news]=152&cHash=c6d64066ba
> 
> All refers to the same news-item. I guess the reason for this is the parameter tx_ttnews[backPid], which value differs in all three cases. 
Yes that is the reason

> 
> Is there a way, to tell indexed_search that these three pages, are actually the same page, so just index it once, please?
Serveral solutions:
1.) Switch of the backPid parameter (is a option in tt_news configuration)
2.) Use the crawler for indexing (best solution)
3.) Some tricky TS where you switch of indexing with conditional comments:

something like:

[globalVar = tx_ttnews[backPid] = 2]
page.config.index_enable = 0
[global]





-


> 
> Regards,
> René
> 


More information about the TYPO3-english mailing list