How to redirect to home page ?

Created on 10 January 2022, over 2 years ago
Updated 1 May 2024, about 2 months ago

Doesn't redirect to home page

In project page we can read " ....and will direct them back to the originally-requested page after successful login."

It works for a random page but not for home page.

My home page is /node (native setting in Drupal)
Target url http://mysite/node :
before login -> http://mysite/user/login?destination=node
after login -> redirection to http://mysite/node?check_logged_in=1 it works

Target url http://mysite :
before login -> http://mysite/user/login?destination=
after login -> redirection to http://mysite/user/1?check_logged_in=1 not OK

Please would you confirm if redirection to home page is possible or not?
What are the proper settings for this?.

Thanks in advance for help.

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡«πŸ‡·France gilbertdelyon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ͺπŸ‡ͺEstonia hkirsman

    I had the same problem - redirected from landing page to user login and becasue destination parameter was emtpy, you're directed to user page. Here's patch to fix this

Production build 0.69.0 2024