Project

General

Profile

Actions

Task #88029

closed

Add config to force meta robots if "index,follow"

Added by Kevin Appelt over 5 years ago. Updated over 5 years ago.

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

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
robots
Complexity:
easy
Sprint Focus:

Description

Currently the meta robots are only output if the value contains either "noindex" or "nofollow". Google itself says that "index, follow" does not have to be specified.
To avoid discussions when someone insists on outputting "index,follow" anyway, it makes sense to provide a configuration that affects this behavior.
By default, "index,follow" will not be output in the future.

Actions #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #2

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #3

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #4

Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #5

Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #6

Updated by Gerrit Code Review over 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #7

Updated by Gerrit Code Review over 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60349

Actions #8

Updated by Richard Haeser over 5 years ago

  • Status changed from Under Review to Needs Feedback

Hi Kevin,

This is solvable by 1 line of TypoScript.

page.meta.robots = index,follow

This will only be rendered when the MetaTagGenerator doesn't output anything. So with this, you can easily add this to your own installation.

Can you please let me know if this does the job for you?

Actions #9

Updated by Kevin Appelt over 5 years ago

  • Status changed from Needs Feedback to Closed
  • % Done changed from 0 to 100

Sometimes it is too easy. The solution works fine and the patch can be removed.

Actions

Also available in: Atom PDF