I would like to understand whether changing a website's link without refreshing will allow web crawlers to effectively parse my page, and aid in SEO.
I have a website, with a dropdown menu where you are able to toggle between options. In my case, you are able to choose a company from the dropdown provided.
I have briefly looked at competitors SEO ranked pages, and many of them are of individual company pages e.g. www.example.com/companies/apple
and www.example.com/companies/google
.
My issue now is that I don't link to a new page when the company is changed, but rather refresh the existing data. As such, my URL is the same and I cannot rank for specific company pages.
I am planning to use a push state to update my link without refreshing the page, from https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page
Will this allow crawlers to split my pages up and rank each independently? Additionally, are there any issues that I might face, or problems with my idea?
I came across this post Does it hurt SEO to change the URL and content without refreshing the page?, and if I understand correctly, using History.pushstate() will treat the new URL as a new page? One consideration is that unlike the links being embedded like in the above post, my links are only updated upon dropdown change (which I'm not sure crawlers are capable of parsing).