Add custom page link with anchor

In my admin section I would like to add in Appearance > Menus > some custom pages to add to my menu. I have two different menu one for the home page and one for the others pages. In my home page menu I add the menu elements as link because I need to give to the href the id of html element so i can ‘redirect’ in a specific point in my page, so my link is ‘#gallery’. In the menù for all the other page I the link should be ‘http://my_domain/home/#gallery. Is there a way to add dinamically this link to the page list? I hope I was clear.

Solutions Collecting From Web of "Add custom page link with anchor"