redirecting to specific url after login from certain page Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
gumibear
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Dec 31, 2009 8:56 pm

redirecting to specific url after login from certain page

Post by gumibear » Fri Jul 10, 2020 5:08 pm

Hi,

I've set up joomla to redirect to the same page after login. this works fine for the most part, but I also have some menu items set up so that one link is seen by guests (advertising page) and another link is seen by registered users (paid content). if a guest tries to log in from the guest page, they get an error message (no access allowed) since the system is trying to redirect back to same guest page after being logged in.

how would i set it up so the system knows to redirect to the registered only page intended as opposed to the initial guest page where the user tried to log in from?

Thanks in advance!

 
User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 38792
Joined: Sat Apr 05, 2008 9:58 pm

Re: redirecting to specific url after login from certain page

Post by Webdongle » Sat Jul 11, 2020 9:12 am

Set the redirect in the menu item (or module if logging in with module)
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein.

gumibear
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Dec 31, 2009 8:56 pm

Re: redirecting to specific url after login from certain page

Post by gumibear » Wed Jul 22, 2020 3:53 pm

thank you for your answer. it got me thinking and i realized a solution.

I had one login module for the entire site set to redirect on the same page.

I had to create new login modules just for those special pages that redirected to where i want.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 38792
Joined: Sat Apr 05, 2008 9:58 pm

Re: redirecting to specific url after login from certain page

Post by Webdongle » Wed Jul 22, 2020 4:29 pm

Don't need a login module displayed to logged in users. Just have one login module set to Public and redirect to a page that is Registered.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein.

 

Post Reply

Return to “General Questions/New to Joomla! 3.x”