basic question:
does it make any difference for SE's if you use hardcoded urls in the code like http://www.domain.com/en/file.htm instead of e.g. "../en/file.htm"
basic question:
does it make any difference for SE's if you use hardcoded urls in the code like http://www.domain.com/en/file.htm instead of e.g. "../en/file.htm"
Makes no difference. First thing a search engine does is change relative urls into absolute urls.
But from a practical point of view I wouldn't use ../
Just use /path/path/etc.html, it will save you a lot of headaches.. :)
By the way, I saw you´re located in Brazil. Que bom que não sou a unica pessoa no Brasil que visita este forum. If you feel like that´s not correct portuguese than that´s possible,. :) I am not brazilian, but I live in São Paulo for about 5 years now.
<added> Ah,.. je spreekt zelfs nederlands,. :) Then my portuguese will be fine for you... </added>
Google has said they prefer absolute, but didn't give a reason why. One thing is fro sure that they want you to be consistent and use one or the other and don't mix and match throughout the website.
Many posts on this already:
Post subject: absolute urls for internal links or local?
Post subject: Relative vs. Absolute Links
oops.. in this site http://www.visitnatalbrazil.com i use relative paths, but recently i added a wordpress blog see http://www.visitnatalbrazil.com/pt/blog/ which has absolute (perma)links...Originally Posted by incrediblehulk
am i in trouble now?
That statement is (was) from Google. I would monitor it if your leaving it or make efforts to make them the same. All I can do here is recommend.
By the way here is where Google hints about absolute over relative.
Where possible, use absolute rather than relative links. (For instance, when linking to another page in your site, link to www.example.com/mypage.html rather than simply mypage.html).