skip to Main Content

i like singlepages with anchors but i have seen, that site:domain.com only show one result on google.

my sections are like

<div id="section">content...</div>

and my links are like:

<a href="#section">section link</a>

is there a way to build the singlepage a other way to get a result for each section? i dont like to use any frameworks…

2

Answers


  1. I think the only way now is to pre-render the website on your server, using something like PhantomJS and serve the result to the Google crawler. Creating a sitemap can also help.

    Login or Signup to reply.
  2. With no URL change and all the content in the HTML document – Google will only see one page.

    Google indexes complete web pages. It will not separately list anchor links to the same page.

    Either split your document into multiple pages or paginate content using different URLs.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search