Links on home page redirect to the same homepage or to login page
SummaryClicking a link on a home page redirect to the same page or to the login page instead of the target page
In case you are facing the same problem, the cause in my case was due to broken links where carriage returns were added to them by Notepad using the Word Wrap option. These returns were also copied to the WYSIWYG editor causing the issue.
In case of the redirect to the login page, the returns were added to the Session ID parameter, making the session id value useless.