Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have configured Title template as [#@seoTitle] | someText and Default title properties @nodeName. In Razor view we have .
Let's say we have 3 pages : Home, Contact and About us. This settings works on Home page it shows Home | someText, but when we go to contact page we also get Home | someText. Should we use some method to get this title from seo checker?
Also I have noticed that when we hijack action in Controller (from Umbraco flow) we get there already a wrong value. Does Seochecker have some caching machanism?
We are using Umbraco 8.4 and SeoChecker 2.9.0
How do you render the page. Snippet should be
var seo = Model.Value("sEOPreview") as SEOChecker.MVC.MetaData;
There is caching but only on the current page.
Thanks for your reply. I have pasted this snippet to my code and unfortunately I still get wrong title, it doesn't refresh when navigating to other pages.
We are using inheritance for every page from PageBase (when we put seoChecker components). Should we add it separately to every page or it doesn't matter?
I retreive from a composition and master layout as well. In the backoffice snippet you see the correct values?
For most pages yes, I have correct values, for the rest I get "The default SEO title properties will be used after first save. /new-document " after saving document it looks ok.
The last is normal on creation or when SEOChecker is added after page creation. But the I am very curious what is happening since the code snippet above is based on this property editor. Would it be possible to share the environment maybe so I can run in debug mode and see what is either wrong in your setup or our code? I delete the environment afterwards. When possible please mail firstname.lastname@example.org.
We are also seeing this issue. I've attached a few screenshots that hopefully help illustrate the issue.
SEO Checker doc type settings - we are using a HasSEO composition that the Home Page and Contact Us Page doc types inherit from.
Home page CMS content:
Contact us CMS content:
Then we load the homepage:
And then load the contact us page:
As you can see the contact us page is using the Home page title. Definitely seems like some kind of caching issue.
When loading the Contact Us page and debugging the SeoMetadata property, it shows the data for the homepage:
Let me know if you need any more info to diagnose the issue.
Sorry to hassle Richard - is this something you might be able to look at soon?
Could it be related to $ sign The normal otpions is exactly what I have in my test environment without any caching. This is on the list of things to check for 2.10. Scheduled for April .
Sorry for the delay.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted