Issue Feature Resolved

#100465API for disabling frontend indexing the current page from a plugin

Christian Weiske 04/05/23, 12:16 updated 09/24/26, 21:45

Description

There should be an official API to disable indexing the current page by indexed_search’s frontend initiated indexing.

Use case

A page with a plugin the provides a form and shows results based on the form input. The form data are submitted via GET because the results shall have a URL that is sharable.
The results shall not be indexed by indexed_search, only the page without form input shall be indexed.

Current solution

Inside the plugin, check if form-specific GET parameters are set and then disable indexing for the current page by setting

//disable indexing of this page in indexed_search
$GLOBALS['TSFE']->config['config']['index_enable'] = 0;

Problems with the current solution

This works fine in TYPO3 v10, but is prone to problems because

  • Accessing TSFE is discouraged
  • in the future, indexed_search may use a different signal to decide if indexing shall happen

Thus an official way would be nice.

Reviews 2

History 37

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-24T21:45:13+00:00" > 09/24/26, 21:45 </span>

    Applied in changeset commit:05c01533b5ab115d66c8f3fbaed3aa6cfd9909cb.