Questions tagged [plugin-seomatic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
29 views

Dynamic entries?

My website features music releases. On the homepage, it shows the current week of releases. It also offers the ability to go back to previous weeks and see the releases e.g. mysite.com/new-releases/05-...
user avatar
  • 239
1 vote
1 answer
17 views

Outputting Opening Hours in SEOmatic

I could use some help outputting opening hours from SEOmatic's Site Settings/Identity. The docs aren't clear on this, and the example at https://github.com/nystudio107/craft-seomatic/issues/843 doesn'...
user avatar
  • 854
1 vote
1 answer
27 views

Error when clicking on a category in admin (related to SEOMatic?)

I get the atatched error when clicking in the admin of my site - it seems to be related to SEO Matic but not sure? Anybody any idea? Many thanks Malcolm
user avatar
1 vote
2 answers
80 views

Accessing SEOmatic meta via controller action in Element API triggers HTTPForbiddenException

I'm attempting to fetch SEO meta for entries inside of an element API, roughly following the advice in Element API integration Below is the exact code in my element-api.php: <?php use craft\...
user avatar
  • 815
1 vote
1 answer
168 views

Incorrect canonical URLs and redirect chains

I have installed SEOMatic. However, I am getting incorrect canonical URLs. Here is an example: https://jenoffvanhulle.com/en/ The URL has a trailing slash, the canonical URL not A second problem is ...
user avatar
  • 11
1 vote
1 answer
236 views

Outputting structured product attributes in JSON-LD code with SEOMatic

My products have a lot of attributes that I would like to serve to Google AMP via JSON-LD. The attributes vary between product types. How should I do this? I see there is a file under nystudio107\...
user avatar
  • 617
0 votes
0 answers
139 views

Set category's canonical URL on a custom route

Global category content canonical URL pattern seems to set og:url, but not the canonical one. I've tried replacing @web with the address proper without any change. I suspect I've misconfigured ...
user avatar
  • 387
0 votes
0 answers
49 views

Paginate and Cache Together and SEOmatic helpers

I am struggling to get this working correctly. If I keep the element queries outside the cache tag then this naturally stops the cache being broken and so is not a viable option. However, when I put ...
user avatar
  • 1,824
1 vote
1 answer
39 views

SEOmatic page parent?

I was wondering if it is possible to create a SEO Title Source in SEOmatic where the page title is output and then the parent/section page title e.g.: {entry.title} | {{ entry.parent.title }} | ...
user avatar
1 vote
1 answer
194 views

Have SEOMatic render a custom SEOMatic field

I've got a few pages on my site that are not content managed. I don't want to create entries for these pages, but I do want the SEO for these pages content managed. My solution here has been to set ...
user avatar
  • 326
1 vote
1 answer
414 views

How do I control order of output using Seomatic plugin

When I use the {% hook 'seomaticRender' %} tag in my template, I expected that it would output the data in the position where it's located. For example, I have the following in my template: {% hook '...
user avatar
1 vote
1 answer
435 views

Site Headers Showing x-robots-tag: none

I am having issues with search engines picking up my Craft site. I'm seeing x-robots-tag: none when reviewing my site's headers - which is shorthand for "no-index and no-follow". The following is ...
user avatar
  • 1,107
1 vote
1 answer
61 views

Not triggering SEOMatic on save element

I'm writing a module that loops over lines in a CSV file to save them as entries. For every entry I save with elements->saveElement($element);, SEOMatic will queue a job that regenerates the ...
user avatar
  • 195
1 vote
1 answer
276 views

Implement hreflang with multi sites

I currently have multi site config. One site have 2 locales. My configuration like so: 'example.com' => array( 'siteUrl' => array( 'us_en' => 'https://www.example.com/', '...
user avatar
1 vote
1 answer
164 views

Get entry url from primary site (using seomatic)

We're adding a multi-site config to a website. All sections are being copied over to the new sites from the primary site. So for example, we now have these two pages: mysite.com/services/some-...
user avatar
1 vote
1 answer
195 views

Set Up Route to Template - then variable Entry is undefined

I've got a blog listing channel set up where I'm trying to filter entries listed by the entries field blogAuthors based on url segment. /articles-and-excerpts/ loads the blog fine added a route but ...
user avatar
  • 1,907
1 vote
1 answer
266 views

How to pull an entry's SEOmatic meta tags with Element API?

How do I get the meta tags used in SEOmatic for a specific entry and returning it through the Element API? Not sure how the PHP code looks like when using SEOmatic's PHP API.
user avatar
  • 77
2 votes
2 answers
326 views

How to add multiple performers to event schema with seomatic

I am adding event schema to an entry page. I have offer and date properties working well based on https://nystudio107.com/blog/tips-for-using-seomatic-effectively This is working for offers {% if ...
user avatar
  • 343
1 vote
1 answer
518 views

SEOMatic: Get SEO Image from a Matrix Field

I'm using a matrix for hero images on my pages, and I'd like to use them as the SEO image in SEOMatic, but it's not available in the settings. I tried setting the field to "Custom URL" and adding ...
user avatar
  • 960
0 votes
0 answers
197 views

SEOmatic passing through variables

In my _layout.html, I render the SEOmatic stuff via {% hook 'seomaticRender' %} This works fine for basically all content singles/channels, etc. Now I have one template /newsletters/index.twig ...
user avatar
  • 465
1 vote
1 answer
317 views

Is it possible to hide certain entries in the Content SEO section of SEO Matic?

I would like to "hide" Certain Pages or entries from the Content SEO Section as they are never seen by the end user and are not used in the XML sitemap. Is there a way to do this ?
user avatar
  • 11
1 vote
1 answer
145 views

Seomatic - disable tag manager from inside template

I am using Seomatic and i want to conditionally render google tag manager trancking code - or not. How do I disable it using some Twig template code?
user avatar
  • 1,195
1 vote
1 answer
71 views

Add Section Name to SEOmatic Title Field

I have an index page for a Section which lists out the entries. As this index template doesn't have a title field associated with it how do I get the Section name in the SEOmatic's SEO Title Source?
user avatar
  • 1,107
0 votes
1 answer
216 views

How can I handle the identical SEOmatic config for multi-sites?

I'm using the amazing SEOmatic plugin in a multi-site config in craft 3. I have a total of 18 sites and they share a lot of identical data. So I was wondering if it was possible to export the ...
user avatar
1 vote
1 answer
95 views

How to merge SEOmatic object in Craft 3?

I'm using SEOmatic plugin in craft cms 3 and I need to set the seoTitle in my template but can't figure out how to do it... I know that in Craft 2, it was possible to merge the seomatic variable. I ...
user avatar
2 votes
1 answer
49 views

SEOmatic Errors in Debug - Can they be fixed?

SEOmatic throws up a lot of errors in the debug. Most of the errors seem to be with fields I haven't filled in as they are not required like Facebook App ID etc. Is this an issue or do I just ignore? ...
user avatar
  • 1,107
1 vote
2 answers
686 views

Append custom sitemap to sitemap index

I have a custom generated sitemap which I'd like to append to my SEOmatic sitemap.xml file. Is this possible? I suppose the simple alternative would be to just add an extra sitemap to Google Search ...
user avatar
2 votes
1 answer
259 views

ImageOptomize and SEOmatic - Is Image Variant Required for Social and SEO images?

Do ImageOptomize and SEOmatic work together - or to be more specific do I need an image variant for the social and SEO images defined in SEOmatic? I have been importing content into a News entry. I ...
user avatar
  • 1,107
1 vote
1 answer
140 views

SEOmatic and Global Variables

We have a Craft site with nearly 800 entries. For SEO purposes we need to change the page title and page (SEO) description for each entry, a laborious task to say the least. Is there a way to have, ...
user avatar
  • 13
0 votes
1 answer
112 views

Craft SeoMatic GTM <noscript> disable on 404 pages

I want to disable google tag manager on 404 templates, I am able to add the additional condition for the script "Google Tag Manager Settings" It has stopped GTM script code, but <noscript> ...
user avatar
  • 115
3 votes
0 answers
328 views

JsonLD & Schema

What is the best way to use Json-LD schema in the templates for Craft 3? I would like to dynamically load parts of the info. I know about the SEOmatic plugin but looking for a way to do it on my own.
user avatar
1 vote
1 answer
472 views

404 page title SEOmatic

404 page doesn't have a title. It shows "| Sitename" in my case. I'm using Craft 3 with the SEOmatic plugin and would like to set the title in the 404 template. {% set seomaticMeta = seomaticMeta | ...
user avatar
  • 308
1 vote
1 answer
189 views

Dynamic link to same entry but in alternate language

I'm working on a multilingual website (Spanish and English, default is Spanish). I'm using the SEOmatic plugin, and I see that it generates this code: <link rel="alternate" hreflang="es" href="...
user avatar
1 vote
1 answer
322 views

Customization Facebook OpenGraph Title

I am using SEOmatic on Craft 2 and want to give the user the ability to customize the Title field of Facebook's OpenGraph Title. For example, instead of showing just the Title, add a "How To" before ...
user avatar
  • 103
1 vote
1 answer
87 views

What are Search Targets and Search Query Input in seomatic?

I am not sure this is the right place to ask this question but I really need to know it, but I couldn't ask it on the plugin's Github as this is not an issue. I am new on Craft CMS and my client need ...
user avatar
1 vote
1 answer
399 views

Re-Saving neccessary?

I have switched the field of the SEOmatic plugin to translateable. All the SEO Titles are taken from the entry title. After changing to translateable I can see the translated fields in the SEO Title ...
user avatar
  • 196
1 vote
2 answers
677 views

Yoast-like real-time content analysis

Is there an equivalent to Yoast's real-time content analysis for Craft? I've looked at SEOmatic and Sprout, but neither of them have the handy traffic light system that Yoast has on WP (despite both ...
user avatar
  • 25
2 votes
1 answer
140 views

SEOmatic not merging fields from a related entry

I have a pretty specific set up: posts get created via rss feeds and images are not attached to the specific posts, so instead in the entry template I use an image from a related entry. When I try to ...
user avatar
1 vote
2 answers
1k views

Can I add a custom canonical URL to a page if also using SEOmatic?

SEOmatic puts a canonical on every page. But some pages I need to be able to add a custom canonical, but not sure how to overide SEOmatic's otherwise there will be two.
user avatar
1 vote
1 answer
107 views

Edit meta property value in Open Graph meta tag

I would like to implement Pinterest Product Pin for my products. I need to update og:xxx values. Here is how i done: {% set og = seomaticMeta.og %} {% set og = og | merge({'type': "product", 'product:...
user avatar
0 votes
1 answer
53 views

Display query string SEOmatic

I'm using the SEOmatic plugin and would like the query string in my URL to display with the site's title. Is this possible to add with the plugin?
user avatar
1 vote
0 answers
66 views

Import data into SEOmatic

I'm trying to import data with the import plugin into entries with a SEOmatic field. How is structured this field and how can I insert the data?
user avatar
2 votes
0 answers
175 views

Default values of new fields for existing entries

I added a new SEOmatic field to a section that has around 500 entries. As for any other new fields that you add to a section, the default values are only applied on the entries if you open and save ...
user avatar
  • 196
1 vote
2 answers
172 views

extractSummary twig filter is unknown

I'm trying to set a fallback description in case there is none. This is the bit of code: {% if seomaticMeta.seoDescription is empty and entry is defined %} {% set fallbackDescription = "" %} {...
user avatar
  • 121
1 vote
1 answer
587 views

How to remove siteName from the og:title tag with SEOMatic

SEOMatic automatically adds the siteName after your title tag, which seems smart, but I don't think it's necessary for social sharing. Is it possible to tweak the og:title and twitter:title tag output ...
user avatar
3 votes
1 answer
605 views

SEOmatic plugin override global title in individual template

I have problem whereby I can't override a single page's SEO by using a field, because the page has too many table rows in the database, due to being very field heavy. Don't ask. So I'd like to ...
user avatar
  • 543
1 vote
2 answers
221 views

Seomatic - show only global site title

Right now my homepage title looks like: Home page - SiteName But i want it to look like this: SiteName How do i do this?
user avatar
1 vote
1 answer
929 views

Website not indexing

Not sure what is going on but my website is not getting indexed by google (went live last week). Robots is correct. What am I missing here? I'm using the plugin seomatic for the SEO, Site robots meta ...
user avatar
3 votes
1 answer
855 views

SEOMatic using the pages title

SEOmatic for some reason isn't picking up any 'Title' fields from the entries, which leaves it displaying '| SiteName' within the browser tab. Currently my 'Site SEO Title' is empty, but can this ...
user avatar
  • 1,218
3 votes
2 answers
234 views

SEOMATIC v1.1.45 install

Finally making progress into a production environment (Pro license installed) and I see that the SEOMATIC has an update - 1.1.45 - I followed the instructions but am lost, as SEOMATIC is already ...
user avatar