Feature #99837
openSupport stdWrap.if for config.showWebsiteTitle
0%
Description
Now that the new TypoScript option "showWebsiteTitle" exists, setting its value based on conditions would provide more flexibility.
Think of a setup where the website title is set for all pages, such as ' The page title - ACME Incorporated '.
When providing a SEO-optimized title for a particular page, adding the website title as a suffix (or prefix) often enough is no longer reasonable: the title's length* is then needed for Keywords, benefits, and a Call-To-Action (e.g. ' TYPO3: Secure & Flexible Websites | Try Demo now! | ACME ').
*Remember: the title length is limited. Long titles will be trimmed in Search Engine Result Pages (and browser tabs).
It would therefore be useful setting the website title as a default, which is omitted if a SEO title is given.
Example TypoScript:
config { pageTitleFirst = 1 pageTitleSeparator = | pageTitleSeparator.noTrimWrap = | | | showWebsiteTitle = 0 showWebsiteTitle.if.isTrue.data = page:seo_title }
I already prepared a small patch which would add this behavior.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77708
Updated by Sebastian Klein almost 2 years ago
With this change, one could, for example, also add a new toggle to page properties to let editors disable the website title, if needed.
Updated by Georg Ringer 5 months ago
- Related to Feature #97653: Add option to not render website title in title tag added
Updated by Georg Ringer 5 months ago
- Status changed from Under Review to New
as the 1st attempt has been abendon, setting it back to new.