Login redirection page

Login redirection page

by Hitesh Parekh -
Number of replies: 4

Hello

After login to Moodle, there is a page /login/index.php in between redirection and after few seconds, user lands on dashboard. We wants to remove this page so after login user should directly land on dashboard.

I have attached screenshot here as well.

Please let me know how I can do this?

Thanks

Attachment moodle-redirection-page.png
Average of ratings: -
In reply to Hitesh Parekh

Re: Login redirection page

by Ken Task -
Picture of Particularly helpful Moodlers

Venturing a guess after sluething a little ... that screen shot isn't anything Moodle that I've seen.   But ... a question/hint ... what is "Statamic"?

X-Redirect-By: Moodle to a test.domain different IP on Amazon which x-powered by 'Statamic'.

+ ... no cert.   Uhhhh .... that's not good these days!

'SoS', Ken



In reply to Ken Task

Re: Login redirection page

by Hitesh Parekh -

Statamic is CMS installed on separate server. We are redirecting user on Moodle installed website from Statamic. Issue is after login, there is an in between screen before user lands on Dashboard. We wants to remove it

In reply to Hitesh Parekh

Re: Login redirection page

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Site administration > Appearance > Navigation: Home page for users (defaulthomepage) set to Dashboard?
In reply to Hitesh Parekh

Re: Login redirection page

by Ken Task -
Picture of Particularly helpful Moodlers

Ok, then ... please try this yourself:

In your screen shot I see the URL is:
spacechat.spaceipedia.org

A curl test:
curl -I https://spacechat.spaceipedia.org/

shows a cookie from a moodle:
X-Redirect-By: Moodle

redirecting to a:

Location: http://test.spaceipedia.org/

Note: the location line is http://   That's not good!   Everything web based these days should be using https ... with valid certs.  test.spaceipedia.org doesn't appear to have a valid certs - lock icon in FireFox browser says so!

Since it's redirecting to test. a curl test at that shows a couple of things of interest:

X-Powered-By: Statamic

which you say (Statamic) is on another server?

And ...

a Set-Cookie: XSRF-TOKEN

+

Set-Cookie: spaceipedia_session

Since non of us 'volunteers' in this forum have an account on your moodle, we can't see this page before dashboard you are talking about.

Best of luck!

'SoS', Ken


Average of ratings: Useful (1)