Copied to clipboard

Flag this post as spam?

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


  • mattou07 15 posts 109 karma points MVP 2x c-trib
    Oct 05, 2016 @ 10:34
    mattou07
    0

    [SEO Checker] Not using values from the title tag

    On a site I am working on we have a title tag that has an example like this : <title>page name | location name</title> that is auto generated in the template. <title>@pageTitle | @Model.Content.GetPropertyValue("siteName", true)</title>

    Problem is SEO checker is returning empty title tag in the snippet preview even though the title tag is set and I have picked Title from the Default title properties picker in the SEO checker settings.

    How could I get the snippet preview to display the value that is in the title tag?

  • Marc Goodson 2141 posts 14344 karma points MVP 8x c-trib
    Oct 10, 2016 @ 18:42
    Marc Goodson
    100

    Hi Matt

    In the title template you need to use the placeholder 'seotitle':

    eg

    [#@seotitle] | [$SiteName]

    seotitle will then be replaced by the value of seoTitle on your doc type, or if that is not present, it will be replaced by the values you have in the 'default title properties' list.

    If you don't use seotitle then your title template is not used in the preview snippet

    regards

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft