Copied to clipboard

Flag this post as spam?

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


  • Markus Johansson 1902 posts 5706 karma points MVP c-trib
    Jun 23, 2015 @ 11:54
    Markus Johansson
    0

    Setting title using code

    Hi!

    I'm on version 1.8.1 of SEO Checker and I have pages where the content differese depending on a questiostring value (yada.aspx?id=5454).

    Is there a way for me to set the title for the current page so that SEO Checker will render it using this code?

    @Html.Raw(SEOChecker.Library.MetaData.Current.RenderTags())

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 23, 2015 @ 15:52
    Richard Soeteman
    0

    Hi Markus,

    it will always use the default values that way. also if you use a querystring for different content you could end up having duplicate content issue.

    Best,

    Richard

  • Markus Johansson 1902 posts 5706 karma points MVP c-trib
    Jun 23, 2015 @ 18:51
    Markus Johansson
    0

    Hi!

    Okey so there is no way to change what SEO Checker sends back as title? This is articles like

    /articles.aspx?id=123 /articles.aspx?id=3455

    With different content, titles and so. It's a legacy solution that stores stuff in custom tables - I know it would be best to move it but thats not an option atm.

    // m

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 24, 2015 @ 05:40
    Richard Soeteman
    0

    No, but you can do it yourself but why don't you redirect to a new page instead? In redirecty settings specify the based on querystring option and you can redirect to a new page with a real url instead.

Please Sign in or register to post replies

Write your reply to:

Draft