Issue #2195933 by Sam152: 'Back to site' button doesn't work when the user originates from the homepage.