[BUGFIX] Correct handling of page UID
[FEATURE] Add argument useShortcutUid

If TRUE, substitutes the link UID of a shortcut with the target page UID and thus avoiding redirects.