Both would lose out.
A would lose out as the link to the same page keeps changing, IE it can't make up its mind what the page is about, so it would lose the trust on the anchor text element (anchor text of outgoing links benefits the anchor page), and B would lose out as it would be something different all the time. So PR might pass, but link juice would not.
|