Forum Moderators: open
Just a quick question:
Is it good,bad or indifferent how you structure you links. I.E does it matter whether I do it like this:
<a href="../mypage/testpage.html">My test page</a>
OR like this (the whole path)
<a href="http://www.mywebsite.com/mypage/testpage.html">My test page</a>
Obviously the second example will make things difficult when developing because if I click on the link, locally when testing, it will reference to the web server, but other than that, is it a problem or not?
Thanks,
LL
<a href="/mypage/testpage.html">My test page</a>
Absolute links can not easily be tested in a development environment (because the links will all point to "live" pages instead of to your development pages). There is no SEO advantage to absolute links.
To some extent, it depends on what tools you use. If you use static html, page-relative links are probably best since they will not break even if you move whole directories around.
Kaled.