Copied to clipboard

Flag this post as spam?

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


  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 09:27
    Sherry Ann Hernandez
    0

    Error when using Canonical meta link package

    Hello,

    Has anybody encountered this error. I add the canonical macro in my masterpage but then when I try to refresh, it displays this error.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Dec 29, 2010 @ 10:07
    Jan Skovgaard
    0

    Hi Sherry

    Does your <head> tag look like this <head runat="server"><!--header stuff here--></head>

    /Jan

  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 10:15
    Sherry Ann Hernandez
    0

    yes it have the runat="server" tag

    this is the example

    <head runat="server">
        <title><umbraco:Item field="contentTitle" runat="server"></umbraco:Item>&nbsp;-&nbsp;Flora Group of Hotels</title>
        <link href="/css/base_min.css" rel="stylesheet" type="text/css" />
        <link href="/css/jquery-ui-1.8.6.custom.css" rel="stylesheet" type="text/css" />
        <meta name="description" content="<umbraco:Item field='metaDescription' recursive='true' runat='server'></umbraco:Item>" />
        <meta name="keywords" content="<umbraco:Item field='metaKeywords' recursive='true' runat='server'></umbraco:Item>" />

       <!-- this is where I insert the canonical macro -->
    </head>

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Dec 29, 2010 @ 10:34
    Jan Skovgaard
    0

    Hi Sherry

    What version of Umbraco are you running?

    /Jan

  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 10:39
    Sherry Ann Hernandez
    0

    this is my umbraco version

    umbraco v 4.5.2 (Assembly version: 1.0.3891.20719)

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Aug 28, 2012 @ 18:07
    Bjarne Fyrstenborg
    0

    I get the exact same error, when adding the macro i inside <head> tags, which has runat="server" too..

    and I am using umbraco v 4.8.0 (Assembly version: 1.0.4583.15483) .. it doesn't seem to be fixed?

    Have someone got this working?

    /Bjarne

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies