【问题标题】:TYPO3: indexed_search, disable indexing for certain controller actionsTYPO3:indexed_search,禁用某些控制器操作的索引
【发布时间】:2017-08-03 15:10:25
【问题描述】:

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

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

有没有办法禁用特定操作的索引?在这种情况下,我可以防止“成功”操作被编入索引。

【问题讨论】:

    标签: typo3 typoscript fluid extbase


    【解决方案1】:

    只需像这样添加标记<!--TYPO3SEARCH_begin--><!--TYPO3SEARCH_end-->

    This part is indexed
    ...
    <!--TYPO3SEARCH_end-->
    ...
    Your template which should not be indexed
    ...
    <!--TYPO3SEARCH_begin-->
    ...
    This part is indexed again
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-15
      • 2019-04-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多