Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Piotr 5 posts 75 karma points
    Jan 21, 2020 @ 15:35
    Piotr
    0

    Seo checker title

    Hi,

    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

    Best regards, Piotr

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Jan 22, 2020 @ 07:55
    Richard Soeteman
    0

    Hi,

    How do you render the page. Snippet should be

    @{
    var seo = Model.Value("sEOPreview") as SEOChecker.MVC.MetaData;
     }
    
    @seo.AllTags
    

    There is caching but only on the current page.

    Best,

    Richard

  • Piotr 5 posts 75 karma points
    Jan 22, 2020 @ 08:07
    Piotr
    0

    Hello,

    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?

    Best regards,

    Piotr

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Jan 22, 2020 @ 08:09
    Richard Soeteman
    0

    I retreive from a composition and master layout as well. In the backoffice snippet you see the correct values?

  • Piotr 5 posts 75 karma points
    Jan 22, 2020 @ 08:14
    Piotr
    0

    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.

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Jan 22, 2020 @ 08:18
    Richard Soeteman
    0

    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 support@soetemansoftware.nl.

    Best,

    Richard

  • Michael Chart 7 posts 88 karma points
    1 week ago
    Michael Chart
    0

    Hi Richard,

    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. SEO Checker doc type settings

    Home page CMS content: Home page CMS properties

    Contact us CMS content: Contact us CMS properties

    Then we load the homepage:

    Home page title

    And then load the contact us page: Contact us page title

    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:

    Debugging contact us page

    Let me know if you need any more info to diagnose the issue.

  • Michael Chart 7 posts 88 karma points
    6 days ago
    Michael Chart
    0

    Sorry to hassle Richard - is this something you might be able to look at soon?

  • Richard Soeteman 3722 posts 11521 karma points MVP
    6 days ago
    Richard Soeteman
    0

    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.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft