Hi, I am creating a few links on my home page with links pointing several sections of a single page: <a href="my-page.html#Q1">link1</a> <a href="my-page.html#Q2">link2</a> This is the destination page "my-page.html" with each section labeled with "Q1", "Q2" ... <a href="#Q1"> <a href="#Q2"> My question is: will the url like "my-page.html#Q1" hinder spiders from finding the "my-page.html"? Thanks in advance!
If you are just using anchors on your page to scroll up and down, and use: <a href="#Q1"> <a href="#Q2"> Even if you use: <a href="my-page.html#Q1">link1</a> <a href="my-page.html#Q2">link2</a> It is like a link from the same page going the same page. You will get more benefit interlinking different pages to each other. So in that case I believe it does not matter. But if it is from another page going to another page, then this is required otherwise it will not work: <a href="my-page.html#Q1">link1</a> <a href="my-page.html#Q2">link2</a> But just as a good practice, I like using absolute URLs everywhere: <a href="http://www.domain.com/my-page.html#Q1">link1</a> <a href="http://www.domain.com/my-page.html#Q2">link2</a> Just because I work better with it in custom-made CMS and is less prone to page hijacking and scraping. (Emphasis on less prone. Of course it still can be hijacked and scraped and do a simple find and replace)
there is no difference between your urls. in eye of spider <a href="my-page.html#Q1">link1</a> and <a href="my-page.html#Q2">link2</a> are the same pages. spiders will only see my-page.html