Redirect after login

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Kerst
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Dec 03, 2015 12:12 pm

Redirect after login

Post by Kerst » Tue Jan 19, 2016 11:17 am

I'm struggling to get the redirect after login working. I have created a menu item 'Login form' within my user menu. It doesn't seem to matter what url I put in the Login Redirect field (see image) the user is still redirected to the profile page.

Should the URL be in a different format?

I've seen that there are options to create overrides by editing the core code. I'd rather not do this if possible.
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11478
Joined: Thu Feb 15, 2007 5:48 am
Location: Suzhou, China

Re: Redirect after login

Post by toivo » Tue Jan 19, 2016 11:43 am

Start the URL with http:// and it will work.
Toivo Talikka, Global Moderator

pipo0206
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Apr 04, 2013 9:00 am

Re: Redirect after login

Post by pipo0206 » Tue Jan 19, 2016 1:22 pm

Hi,
I'm having the same problem.
I start the url with http:// but no success.
Tried as well by deleting cache and rebiulding menus but I'm not able to make it.
login.JPG
You do not have the required permissions to view the files attached to this post.

RedEye
Joomla! Ace
Joomla! Ace
Posts: 1460
Joined: Sat Jan 21, 2006 8:42 pm

Re: Redirect after login

Post by RedEye » Tue Jan 19, 2016 1:40 pm


pipo0206
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Apr 04, 2013 9:00 am

Re: Redirect after login

Post by pipo0206 » Tue Jan 19, 2016 1:50 pm

Thanks, but I'm not able to make it.
I tried by inserting

Code: Select all

http://www.lamardebarcos.com/index.php?option=com_jomres&view=default&Itemid=140&lang=es
and
/index.php?option=com_jomres&view=default&Itemid=140&lang=es
But it always redirects me to the profile.

The url works and it is the one where the users should be redirected.
login-2.JPG
You do not have the required permissions to view the files attached to this post.

RedEye
Joomla! Ace
Joomla! Ace
Posts: 1460
Joined: Sat Jan 21, 2006 8:42 pm

Re: Redirect after login

Post by RedEye » Tue Jan 19, 2016 2:00 pm

If you don't include the host (your second example) don't start with a slash it's not valid, just start with index.php

pipo0206
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Apr 04, 2013 9:00 am

Re: Redirect after login

Post by pipo0206 » Tue Jan 19, 2016 2:05 pm

Thanks, RedEye, but without the slash it doesn't work either.

Kerst
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Dec 03, 2015 12:12 pm

Re: Redirect after login

Post by Kerst » Wed Jan 20, 2016 9:25 am

Toivo - Still can't get it to work. Neither https://www.me2trial.co.uk/me2 (the homepage) nor https://www.me2trial.co.uk/index.php.

I cleared the cache and tried on other devices but still get redirected to the profile page. If this is a fundamental problem with the core code do I need to edit the core code while we wait for the next update?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11478
Joined: Thu Feb 15, 2007 5:48 am
Location: Suzhou, China

Re: Redirect after login

Post by toivo » Wed Jan 20, 2016 11:43 am

Have you tried the URL with http:// instead of https:// ?

In spite of the earlier information about the redirect link being broken after the upgrade to 3.4.6, the full SEF URL, starting with http:// and the domain, works all right in Joomla 3.4.8, both in 'Login Redirect' and 'Logout Redirect', as long as the URL is a valid internal URL to the site.
Toivo Talikka, Global Moderator

nmron
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Mon Sep 20, 2010 1:17 pm

Re: Redirect after login

Post by nmron » Wed Jan 20, 2016 10:28 pm

I also have this problem. User gets redirected to their profile when logging in. I also noticed when I edit a user that the DETAILS section is missing.
It only started when I upgraded to 3.4.8. It was definitely OK before this.
Is a fix expected for this soon ?

thanks nmron

Kerst
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Dec 03, 2015 12:12 pm

Re: Redirect after login

Post by Kerst » Fri Jan 22, 2016 3:24 pm

Yes I also tried with http:// and that didn't work. My site is hosted with siteground so I guess I'll have to ask them what the internal URL is.

Kerst
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Dec 03, 2015 12:12 pm

Re: Redirect after login

Post by Kerst » Fri Jan 22, 2016 4:07 pm

Can't get it to work with the internal address provided by siteground either.

nmron
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Mon Sep 20, 2010 1:17 pm

Re: Redirect after login

Post by nmron » Sat Jan 23, 2016 11:36 pm

I notice that from 3.4.6 onwards, you are not allowed to manually set a URL in the login module, only redirect to a menu item (i.e. a page)
So when will a fix be provided since currently the redirect is going to a user profile and not the redirect page when the user logs in ?

thanks nmron

HelpJ
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Thu Dec 01, 2016 3:38 pm
Contact:

Re: Redirect after login

Post by HelpJ » Tue Jan 31, 2017 10:33 pm

Using Joomla 3.6.5 and this is still a big problem. Login redirects to profile page.
FireShot Capture 136 - Menus_ Edit Item.jpg
Tooltip say "Select the page the user will be redirected to after a successful login. Select from all the pages listed in the dropdown menu. Choosing "Default" will return to the same page."

It seems that this is not working and we have a bug.
You do not have the required permissions to view the files attached to this post.
Joomla Pro Support https://www.help-joomla.com

jerseygirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Aug 20, 2013 11:23 pm

Re: Redirect after login

Post by jerseygirl » Fri Feb 24, 2017 10:36 pm

I am having the same problem with menu-item login redirect (Joomla! 3.6.5). For "Choose Login Redirect type", if I select "Internal URL"), it does not matter if I use the full url (http://sitename/index.php/rest-of-url) or relative URL (index.php/rest-of-url) - the user gets directed to user profile most of the time. Which is absolutely maddening, because sometimes, it works, and the user is directed to the correct URL. No idea why it sometimes works (tried 3 different browsers - sometimes works, sometimes doesn't in each browser - more often doesn't work).

I have also tried choosing "Menu Item" for "Choose Login Redirect type. I set up a menu item to go to the desired page, but the user still gets sent to the user profile.

I have used menu-item login redirect for several years and not had a problem. What is going on?


Locked

Return to “Administration Joomla! 3.x”