I am wondering if you can use SeoChecker on documents with no templates?
Why i am asking is because i wanna be able to use the same title and description for all children of a specific document, since they all contains the same general information and only differs on dates.
So i moved my seoChecker composition from the child document to the parent document that has no template. And when i try to get the MetaData from the parent document. All properties are empty ,except the canonicalUrl, that contains the url for the child.
Metadata object only contains the data that you added via the Property editor. The rest will be rendered based on the context of the page. I think with the latest version it's possible to use the property editor converter and you can retrieve all data based on the parent page?
Can you use seochecker on pages with no templates
Hi.
Using Umbraco 8.4.0 and SeoChecker 2.9.0
I am wondering if you can use SeoChecker on documents with no templates?
Why i am asking is because i wanna be able to use the same title and description for all children of a specific document, since they all contains the same general information and only differs on dates.
So i moved my seoChecker composition from the child document to the parent document that has no template. And when i try to get the
MetaData
from the parent document. All properties are empty ,except the canonicalUrl, that contains the url for the child.HI Bo,
Metadata object only contains the data that you added via the Property editor. The rest will be rendered based on the context of the page. I think with the latest version it's possible to use the property editor converter and you can retrieve all data based on the parent page?
Best,
Richard
Hi Richard.
Are you thinking of Umbraco 8.5.0?
And the converter you are talking about is
MetaData
likeParent.Value<MetaData>("seoChecker", culture: culture)
?Just checked this should be the syntax
Render Metatags of different document
I try it out and get back with more info :)
Perfect.
var meta = new SEOChecker.MVC.MetaData(1097);
worked like a charm.While
var meta = Content.Value<MetaData>("seoChecker", culture: culture);
only works on document with template.But i am curious how
MetaData(1097)
can differ between cultures?Think it will take the current Context for now. There are a few areas to improve multi lingual support also for sitemaps.
Okay. But thanks for the help and info. :)
is working on a reply...