TYPO3:indexed_search,禁用某些控制器操作的索引

时间:2017-08-03 15:10:26

标签: typo3 typoscript fluid extbase

我有一个带有2个动作的表单的插件(2个不同的模板): -ShowForm.html -Success.html(提交表单时)

问题是两者都被搜索引擎索引。我只希望表单本身(ShowForm.html)出现在搜索结果中。

有没有办法禁用特定操作的索引?在这种情况下,我可以阻止"成功"被索引的行动。

1 个答案:

答案 0 :(得分:1)

只需添加标记<!--TYPO3SEARCH_end-->This part is indexed ... <!--TYPO3SEARCH_end--> ... Your template which should not be indexed ... <!--TYPO3SEARCH_begin--> ... This part is indexed again ,如下所示:

{{1}}