Project

General

Profile

Actions

Bug #93605

closed

No way to disable page title per page

Added by Aimeos no-lastname-given over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2021-02-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
seo, page, title
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Contrary to TYPO3 8 and before, TYPO3 9/10 doesn't allow to disable page titles on a per page base. It's only possible to add your own page title provider on top of the stack of existing page title providers.

Problem:
In Aimeos, we generate the HTML header code for the Aimeos pages ourselves including the page title and this leads to a duplicate title tag esp. in the HTML of the shop list and detail pages served by TYPO3. There's no known workaround yet because adding our own page title provider that returns an empty title doesn't solve the problem. We also don't have access in the page title provider to the product data without fetching the product again from the database decreasing performance.

Actions #1

Updated by Benni Mack over 3 years ago

  • Status changed from New to Needs Feedback

Dear Aimeos no-last-name-given,

Can you elaborate how you managed to disable page titles in TYPO3 v8?

Actions #3

Updated by Benni Mack over 3 years ago

Aimeos no-lastname-given wrote in #note-2:

It's still in the docs:
https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Setup/Config/Index.html#nopagetitle

It was possible to set config.noPageTitle=2 to disable it completely:
https://github.com/aimeos/aimeos-typo3/blob/2017.10/Classes/Controller/CatalogController.php#L105-L107

Ah, via TypoScript. Thanks for the info!

Actions #4

Updated by Benni Mack over 3 years ago

  • Status changed from Needs Feedback to Accepted
Actions #5

Updated by Richard Haeser over 3 years ago

  • Status changed from Accepted to Needs Feedback

Hi,

I don't have any issue disabling the page title by typoscript. It is still possible to disable it with config.noPageTitle=2. We even have automatic tests to check that this behaviour is still available. Are you sure the typoscript is set correctly?

Actions #6

Updated by Aimeos no-lastname-given over 3 years ago

You are right, I considered config.noPageTitle as not supported any more after the new PageTitle provider API has been introduced but it still works. Sorry, my fault.

Actions #7

Updated by Benni Mack over 3 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF