Fixed #105 using linkid if exists when loading main url
Merge branch 'bugfix/105' into develop