3

I have seen that anchor links can not be indexed since the crawlers read www.example.com/page#someanchor as www.example.com/page.

It is the web browser that then interprets the anchors to jump in the appropriate section or open an accordion (my case).

I would like to know if there is currently a way to have a url with this structure indexed by search engines:

www.mysite.com/somepage?modal=foo#foo

The site contains multiples accordions, each anchor link opening each associated accordion.

1
  • 1
    this post has a good answer to this issue
    – James T
    Feb 20, 2019 at 15:26

1 Answer 1

2

Found some answers in this blog post, http://blog.analytics-toolkit.com/2014/virtual-pageviews-google-analytics-why-how-when

Explaining ways to achieve it with virtual pages.

But I think that means we can track the tabs/accordions that are clicked in Google Analytics, making these virtual pages indexable is another story.

Your Answer

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

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