I'm developing a site and in the menu of this website use anchor, since most of the content is on the main page, just in different places.
Reproduce the problem:
1) Go to the demo vamsms.ru
(don't worry about texting there's nothing there, just had a free address to test)
2) Click on articles in menu. The address will be of the form mysite.ru/stati.php
3) Now click On the center. Since this info on the main page, it will throw us back to the anchor #about. The address will be of the form mysite.ru/index.html#about
So far so good
4) Now error! If you click on the Contacts section (also located on the main, tied to the anchor #contacts), then we will move to contacts, but the address would be mysite.ru/index.html#about
, although it should mysite.ru/index.html#contacts
That is the kind of problem that haunts me. Are there any thoughts on how to solve it?