We started a project where all the backlinks go to an overlay URL with hash. So it's possible to show interesting content for publishers on the site we want to build backlinks.

Today we saw that google index hash URLs also.

For example:

  • example.com#publisher-article-1
  • example.com#publisher-article-2

All the backlinks should go to example.com

Now everything changes because google also index URLs with hash in it.

Is there any way to not lose those links?

  • 2
    It sounds like you were incorrectly using a linking scheme to try to pump up your base domain. You are lucky that Google never penalized your site for it. Now that Google is doing the right thing and treating the links as links to the specific content, you shouldn't have a problem. Things are working as they should. Oct 25, 2017 at 10:22

1 Answer 1


The best solution i can think of is to delete those pages so ones with a # in it then redirect them to the root domain and you should retain most of the link juice

  • It is not possible to redirect hash URLs. Redirects are done on the server side but the hash portion of URLs is client side only. Servers never even see the URL hash. Oct 25, 2017 at 10:23
  • You could possibly add a logic on the page e.g. with php, that looks at the full url and then perform a redirect. I haven't tried this myself but it should be possible in theory... I think. Oct 25, 2017 at 11:48

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.