Absolute vs Relative Links : Technical Difference

后端 未结 2 1762
春和景丽
春和景丽 2021-01-27 12:36

Which is better option or there is no difference in terms of speed or other issues like SEO, Backlinks

href=\"http://www.example.com/contact\"

href=\"../../conta

2条回答
  •  礼貌的吻别
    2021-01-27 13:09

    Use absolute urls for linking to other web sites, and relative urls if the page your are linking to is in your website. More can be found @ http://kb.iu.edu/data/abwp.html

    Absolute URL's are protocol://domain/path

    Relative URL's are The Wonderful World of Foobar!

提交回复
热议问题