Google's Schema Markup for webpages - Absolute vs Relative Urls

Discussion in 'Search Engine Optimization and Marketing' started by neetu, Feb 9, 2014.

to remove all ads.
  1. neetu

    neetu New Member

    Messages:
    1
    Is there any difference if I insert absolute or relative links in the url while marking up schema. In the following code can i directly reference the image source as logo.png instead of http : // example.com/ logo. png.

    Code:
    <div itemscope itemtype="http : // schema.org / Organization ">
       <a itemprop="url" href="http : // example. com ">Home</a>
       <img itemprop="logo" src=" http : // example. com/ logo.png" />
    </div>
     
  2. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,670
  3. jainteq

    jainteq Member

    Messages:
    42
    An absolute URL contains more information than a relative URL does. Relative URLs are more convenient because they are shorter and often more portable. However, you can use them only to reference links on the same server as the page that contains them.
     
  4. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,670

Share This Page