Does linking to a div pass value to the base url?
-
hi,
because of how my site is laid out, in many cases, it makes sense from a user experience standpoint to link to a specific
id rather than to the base url (and the top of the page).
for internal links on my site, will linking to http://domain.com/page/#div pass the same link value as linking to http://domain.com/page/ ? or am i shooting myself in the foot with this approach?
thanks, Moz buddies!
-
I can't see how linking to a specific anchor on a page is going to lessen any link juice than linking just to the page itself, and even if it did, the user experience is always going to be important.
Perhaps someone has some actual testing or confirmation of this, but I can't say I have come across any issues.
-Andy
-
I agree with Andy. I wouldn't expect any issues with an anchor. I'm pretty sure Google would ignore it. Although using a query string parameter (?) would not be good.
Anyway, Google Analytics allows you to track parameters using an anchor and some think that this is a good way of consolidating link juice and avoiding duplicate content issues.
http://www.lunametrics.com/blog/2009/02/02/hashing-it-out-referral-tracking/
-
Hi RealGoodsSolar,
My understanding is that using a self-referential canonical tag in the Head section will cause the link value for any version of that URL to accumulate for the base URL.
So for page www.mydomain.com/inner-page.html , using this tag in the head:
causes incoming links with tail-end variations like:
www.mydomain.com/inner-page.html#id2 or www.mydomain.com/inner-page.html?searchresult3
to all count towards www.mydomain.com/inner-page.html
Good luck!
-
All redirects lose link juice, Gregory is correct in what he says, but you would lose a bit of link juice in the redirect, better to use the anchor, it is ignored