Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Do anchors in urls affect ranking in seo?

<a href="website.com/cotton">link 1</a>

As oposed to:

<a href="website.com/cotton#green">link 2</a>
share|improve this question
    
See also webmasters.stackexchange.com/questions/6979/… –  JeremyB Feb 23 '11 at 15:01
add comment

2 Answers 2

On SO it does not affect it on I think it is the same on other sites too.

The anchors do not affect the rankings in SEO.

share|improve this answer
add comment

Hard to say for sure but the semantic meaning of the anchor is to point to a specific point on a page so the browser can scroll to it automatically. If it is going to have SEO value it would most likely be limited to the small portion of the page that is associated with the anchor. That value would be very small thanks to the limited target area of the anchor as well as the huge potential for abuse. I wouldn't worry about the SEO aspects of it and use names that make sense so when that URL is loaded in a browser it makes sense to the user and also makes the life easier for whomever has to maintain that code in the future.

share|improve this answer
1  
Just curiously, what's the potential for abuse? –  JeremyB Feb 23 '11 at 15:02
1  
Keyword stuffing. Since you can use any text for an anchor and it doesn't affect the display of the webpage it's easy to call and anchor "britneyspears" or "viagra". –  John Conde Feb 23 '11 at 15:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.