#100465API for disabling frontend indexing the current page from a plugin
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
-
Georg Ringer changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2025-04-16T16:13:46+00:00" > 04/16/25, 16:13 </span>
-
Georg Ringer changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2026-08-06T15:48:13+00:00" > 08/06/26, 15:48 </span> -
Gerrit Code Review pushed patch set 1 for main to change 96025 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-24T00:00:40+00:00" > 09/24/26, 00:00 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96025 <span data-processor="relativetime" data-value="2026-09-24T00:49:32+00:00" > 09/24/26, 00:49 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96045 <span data-processor="relativetime" data-value="2026-09-24T20:24:19+00:00" > 09/24/26, 20:24 </span>
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 96045 <span data-processor="relativetime" data-value="2026-09-24T20:46:09+00:00" > 09/24/26, 20:46 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %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.