Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Feb 08, 2015 @ 15:22
    Bjarne Fyrstenborg
    0

    Inbound link errors when using tel protocol

    When I use the tel protocol in a link on a phone number, I get some inbound link errors.

    I have the link in the footer of the page, so I get an error foreach page:

    <a href="tel:+4512345678">12 34 56 78</a>


    The link to /tel:+4512345678 is broken.
    The link to /cases/tel:+4512345678 is broken.
    The link to /cms/tel:+4512345678 is broken.
    The link to /kompetencer/tel:+4512345678 is broken.
    The link to /kontakt/tel:+4512345678 is broken.


    Both tel, sms and mailto are common protocols, but also protocols for native applications might be available like skype and facetime: http://www.mobilexweb.com/blog/click-to-call-links-mobile-browsers

    /Bjarne

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Feb 09, 2015 @ 07:29
    Richard Soeteman
    0

    Hi Bjarne,

    Url's statrting with Tel should be ignored /tel /cases/tel: etc not so make sure your telephone url is starting with tel and all should be good.

    Best,

    Richard

  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Feb 09, 2015 @ 09:08
    Bjarne Fyrstenborg
    0

    Hi Richard

    That is exactly the problem, that the url certainly does start with tel, but because the link as I posted is located in the footer of the page. it created an issue for each page.

    Take a look at the phone number in the footer of my website here: www.bjarnefyrstenborg.dk

    /Bjarne

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Feb 09, 2015 @ 11:39
    Richard Soeteman
    0

    Hi Bjarne,

    Which version? I don't know from which version SEOChecker supports this but I'm 100% sure the check for tel: is in the latest version.

    Best,

    Richard

  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Feb 09, 2015 @ 22:55
    Bjarne Fyrstenborg
    0

    Hi Richard

    It was v.1.8 ... I have upgraded to v. 1.8.1 and also deleted the errors.. maybe they have been added in an earlier version before it was fixed. So I will keep an eye with if the errors occur again.

    /Bjarne

  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Mar 03, 2015 @ 09:09
    Bjarne Fyrstenborg
    0

    Hi Richard

    I am running with Umbraco 7.2.2 and SeoChecker 1.8.1 .. I have deleted the previously "Inbound link errors", where it yesterday was empty.

    But now the inbound link error is added again :/

    /Bjarne

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Mar 03, 2015 @ 09:12
    Richard Soeteman
    0

    You should add those to the Ignore list then they should not be visible.

  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Mar 03, 2015 @ 09:55
    Bjarne Fyrstenborg
    0

    Okay, but why not ignore them by default? :) .. it is valid url's to have:

     <a href="tel: +4512345678">+12 34 56 78</a>

    /Bjarne

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Mar 03, 2015 @ 09:56
    Richard Soeteman
    0

    Tel is ignored by default, same as mailto etc so don't know why it fails on your end, maybe dynamic?

  • Bjarne Fyrstenborg 1142 posts 3247 karma points MVP 3x c-trib
    Mar 03, 2015 @ 10:08
    Bjarne Fyrstenborg
    0

    Hmm strange..

    this contact info is added in this way:

    @{
        var contactNode = Model.Content.AncestorOrSelf(1).DescendantOrSelf("ContactPage");
        var contactPhone = contactNode.GetPropertyValue("contactPhone").ToString();
        var contactEmail = contactNode.GetPropertyValue("contactEmail").ToString();
    
        var phoneWithoutWhiteSpace = contactPhone.Replace(" ", string.Empty);
        string attr = "tel:+45" + phoneWithoutWhiteSpace;
    
        <span class="phone"><span class="icon-phone"></span> <a href="@attr">@contactPhone</a></span>
        <span class="email"><span class="icon-email"></span>  <a href="mailto:@contactEmail">@contactEmail</a></span>
    }

    So maybe it doesn't recognize it, because the tel protocol is added dynamic.

Please Sign in or register to post replies

Write your reply to:

Draft