I have a website up and running which is single-page. I do need site links to appear on google search. Currently, it is placed at top in google search but without site links. I have submitted sitemaps with https://example.com/services, https://example.com/projects etc which is then redirected at the application level to https://example.com/#services (status code 301) and so on. Google Search Console shows Page with redirection for some pages whereas Duplicate, submitted URL not selected as canonical for others.

What can I do to get the site links shows in the google search?


2 Answers 2


It is highly unlikely that Google will consider the within page links indicated with a # as unique pages. Sites like Github have heavy usage of hash links that help with navigation within the page but these links are not indexed by google.

The sitelinks guide by Google clearly says

We only show sitelinks for results when we think they'll be useful to the user. If the structure of your site doesn't allow our algorithms to find good sitelinks, or we don't think that the sitelinks for your site are relevant for the user's query, we won't show them. Read full article Sitelinks

It will be a good practice to make seperate pages of your # links with unique content in them

  • Thank you for the info. Meantime, I removed the redirection(status 301), now it is status 200, and by using JavaScript, I scrolled to the corresponding section. But, that too doesn't do the trick. Duplicate, submitted URL not selected as canonical is the response from google. Any other ideas? Commented May 23, 2019 at 6:03

Google typically ignores the # in a URL. When it does consider them, they are used as "jump to" links. That is links that jump to a position on a page. They are not considered as indexed of their own, just positions on a page.

To get sitelinks you need to return your content via a unique URL of its own (ignoring the # value). e.g. those URLs you currently have redirecting. They need to directly return the content you want indexed for that URL.

  • Google does pay attention to jump links. I often see Wikipedia pages in the search results where Google has put site links to the various sections of the page directly into the search results. Commented May 3, 2019 at 10:44
  • Could you provide an example. Sometimes jump to links can look like a bit like site links. But it would be interesting to see if Google does mix pages and jump to links in a site link result. Commented May 4, 2019 at 11:35
  • If I search for "daisy bellis perennis" Google has four jump links in the search results to the various section of the Wikipedia article: ‎Description · ‎Cultivation · ‎Etymology · ‎Uses Commented May 4, 2019 at 11:41
  • I guess it's semantics (or me being pedantic), they are "jump to" links, not "site links".They just look like small site links. To get jump to links related to a page, the page needs to contain anchor links (a tag) with an href to the # name. And a corresponding element that has the id set to the same name. Clicking on the link should move the page to the element. WikiPedia has the links in the content section, and the headings are given ids to match. To get Site Links you have to have a URL excluding the # value that directly returns the content requested. Commented May 5, 2019 at 12:37
  • Are you saying that Google wouldn't give small jumplinks for a single page home page? Commented May 5, 2019 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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