When two URLs match up to the first hash, compare the fragments as separate section or view markers. They can identify different parts of an otherwise matching resource URL.
Compare a printed pair with the same page and query
https://studio.example/manual?edition=2#intro and https://studio.example/manual?edition=2#setup share the same path and query. Only intro and setup differ, after the hash. The resource defines what each fragment corresponds to. IETF fragment syntax
Observe the page instead of assuming what moved
In the fictional manual, the visible screen moves from the introduction heading to the setup heading. That is the scene drawn on the card, and the changed fragment agrees with it. In an ordinary tab the same rule lets you compare the visible text without promising how every page uses fragments.
Return to a known anchor when the exact section matters
If you were trying to read the opening checklist and only the fragment changed, the host and path already match. Use the relevant heading or a known bookmark that opens the needed section, then check the actual heading on screen.