-
Normally this button would just link to entry on frontend. But in some cases it seems to start redirecting to seomate seo preview.
Not sure what is causing this specifically, as i just create new craft install, added new section and installed plugin, and preview just directs to frontiend instead of seo preview. On "affected" website i made sure that entries have correct template path, as i know that wrong template path would make preview and view button disappear. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This isn't a problem with SEOMate, it's what happens when the section has no preview targets defined in its settings – making the preview target added by SEOMate the only preview target. The "View" button is never actually a link to the entry's URL or template; it's either a menu with links to all the preview targets (if there are multiple), or a simple link to the first and only preview target (if there is only one).
That's expected behavior; if you disable SEOMate's SEO preview and the section has no preview targets in its settings, there is nothing for the Preview and View buttons to link to, and Craft doesn't render them.
No, entry templates (or URIs) are not relevant for the Preview and View buttons (anymore). It's all about the preview targets. |
Beta Was this translation helpful? Give feedback.
-
@mmikkel |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #69 |
Beta Was this translation helpful? Give feedback.
This isn't a problem with SEOMate, it's what happens when the section has no preview targets defined in its settings – making the preview target added by SEOMate the only preview target.
The "View" button is never actually a link to the entry's URL or template; it's either a menu with links to all the preview targets (if there are multiple), or a simple link to the first and only preview target (if there is only one).
That's expected behavior; if you disable SEOMate's SEO preview and the section has no preview targets in its settings, there is nothing for the Preview and View buttons to link to, and Craft doesn't render them.