seo icon indicating copy to clipboard operation
seo copied to clipboard

Focus Keywords Unavailable

Open springboynick opened this issue 3 years ago • 4 comments

All entries whether single or channels are showing focus keyword unavailable

Additional info

  • Craft version: 4.2.1.1
  • SEO version: 4.0.3
  • PHP version: 8.1.6
  • Database driver & version: MySQL 10.1.48
  • Other Plugins: redactor and freeform

springboynick avatar Aug 19 '22 22:08 springboynick

Same here Craft 4

alanski66 avatar Sep 04 '22 19:09 alanski66

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

glenwith1n avatar Sep 06 '22 06:09 glenwith1n

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

JoelBeer avatar Oct 02 '22 08:10 JoelBeer

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

gleerman avatar Sep 28 '23 07:09 gleerman