8 – Root Links – Drupal Answers

There are two sites on D8 – one is a copy of the other, located on the same accommodation. But on a site, all relative links are formed relative to the current URL and on the second, relative to the root, and begin with a slash. The site settings are the same. What could be the reason?
It is necessary that all links are internal to the root. What does it depend on?