ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
269 stars 96 forks source link

Focus Keywords Unavailable #427

Open springboynick opened 2 years ago

springboynick commented 2 years ago

All entries whether single or channels are showing focus keyword unavailable

Additional info

alanski66 commented 2 years ago

Same here Craft 4

glenwith1n commented 2 years ago

Same here in Craft 4 - The Craft 3 fix of - isn't working in Craft 4

JoelBeer commented 2 years ago

I've got the same, digging into the Craft 4 Core and the plugin, it looks like the preview targets are not being set. Based on crafts docs I look like you might need a Pro account to access the multiple preview targets.

src/fields/SeoField.php ln:190

if ($section) {
  $hasPreview = !empty($section->previewTargets) && $previewAction !== null;
  $isSingle = $section->type === Section::TYPE_SINGLE;
}

Craft 4 Preview target docs https://craftcms.com/docs/4.x/entries.html#entry-uri-formats

gleerman commented 1 year ago

Bumping this issue because @JoelBeer 's analysis of the issue seems accurate. Couldn't SEO keywords be available regardless of the Craft licensing type?