View Full Version : URL structure for internal links?

06-16-2009, 04:05 PM
Does it matter if an internal link has the url structure "../permalink-for-page" instead of the full url "domain.com/permalink-for-page". I've been using the first structure ever since I started my blog and I don't recall why. I believe it had to do with the fact that the second structure gave me disfunctional links, so I went with the other url type. I just found however out that the second stucture does work.

So what's better for google? Will "../" make my site or page ranger higher than full domain url, vice versa or no difference? Does google recognize/count both types as internal links?

The reason I'm asking is because in my google webmaster central it showed me 0 under internal linking. Not sure if I need to worry about that though because when I tested the other url it still showed 0. So I've browsed a few popular blogs, checked the source code and saw that most of them use the second structure for internal links: "domain.com/permalink-for-page".

Your feedback is appreciated.

06-17-2009, 12:54 AM
In my opinion, they are both as good as each other, Dreamweaver uses the first one by default and i always learnt by the second one, i wasn't aware that google counted internal links :eek: but i don't know how they would check for an internal link anyways so eh, good luck on finding out =]

Note: If you checked with the second way AFTER the first you may have to wait for another 'spider bot' to check your site before its updated << needs verification


06-17-2009, 11:17 AM
Search engines can crawl either format. Absolute URLs are better because when your site is scraped and published elsewhere (as it inevitably will be) links in your content will point to your site.

06-22-2009, 12:48 AM
i wasn't aware that google counted internal links :eek:

Really? Well, if you put good anchor text with your internal links it can actually help you rank higher in google for that keyword.

Thanks for the info, you two. From now on I will probably use the full url.