I have created a static site on Google Sites. Now based on my requirements, I have to restrict the access of this site to particular users. So I have used Sharing and Permissions feature and restricted the access to limited users. It is a page containing some FAQs. Now what I need to do is, based on the question, I directly provide link of my static page, such that particular question part is navigated and shown to user. I have used anchor tag of html and I am using "name" property in this anchor tag. And when I want to show the user particular question on this page, I give the url of the page with "#name" appended in the URL. Now if the user is logged into his Google account, then he is shown that particular portion of the page, but if he is not logged in, google asks him to login and after login, he is not shown that particular part of the page (as used in URL using #name) but is shown the page from top.
For e.g. consider this demo page
If I want to navigate to FAQ5, I am using the link
If the user is logged into Google account, he is shown FAQ5 directly. But if he is not logged in, he is asked to login and then he is shown the page from top.
I have tried many things using Google App Script and inserting html box (using jquery in it), but Google is not allowing me to redirect to particular part to the page.
Has anyone encountered similar problem and found a solution?