Yoast / Yoast-SEO-for-TYPO3

Yoast SEO plugin for TYPO3
Other
51 stars 56 forks source link

Internal linking suggestions do not work with language setting "All" #543

Closed RinyVT closed 12 months ago

RinyVT commented 1 year ago

Please give us a description of what happened.

When adding a content element and settings the "Language" to "All" (-1) the internal linking suggestions functionality throws an exception because there is no language "-1" on any site.

Please describe what you expected to happen and why.

Since there's no way for the internal linking suggestions to work with "All languages" (which language should be analyzed? which pages and what languages should it be able to link to?) there should be a warning that the linking suggestions are unable to be determined.

How can we reproduce this behavior?

  1. Add a content element
  2. Set the language to "All" (-1)
  3. Save the content element, the exception should now turn up.

Technical info