Topic-icon Login/Logout redirection problem

Active Subscriptions:

None
10 years 10 months ago #54229 by micdub
Hi!

I have a problem when I try to redirect a new user or a returning user to a specific page on a multilingual site.

Everything is working fine when the SEO settings are set to OFF but when ON I get a 404 error.

To help you to see what I am talking about, you can check the attached file. Hope this help.

Thanks!

Michel

+++++++++++++++++++++++++++++++++=
File Attachment:
The topic has been locked.
Support Specialist
10 years 10 months ago #54234 by alzander
Can you let me know:
* Are you using the built-in Joomla SEF or a 3rd party SEF extension?
* What the URLs are that work (with SEF off) and fail (with it on)? That will help us understand the issue a bit more. You don't need to include your domain, just the path (everything after the .com/).

Some things to also check:
* If you use the SCLogin module, which has a similar redirect option, does that have the same issue when you login with Joomla credentials?
* If so, try the standard Joomla mod_login module. If it does, then it sounds like there's more of an underlying issue with Joomla than JFBConnect.

Let us know the above and we'll gladly help investigate however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #54242 by micdub
Hi Alex,

After a deeper investigation I found that in the "System - Language Filter" Plugin, when the "Remove URL Language Code" is set to No I get no more 404 error.

BUT when I login from the english section and the JFBConnect options are configured to french menu items, I am redirected to the french section.

So the problem comes from the fact that the JFBConnect redirect options are set to only one menu item that is created normally in only one language.

In my very basic setup, all the french menu items are associated to the corresponding english ones.

If possible, one solution could be to code the routing routine in a way that when login in from a different language, we are redirected to the associated menu item.

Hope this help.

Thanks!

Michel
The topic has been locked.
Support Specialist
10 years 10 months ago #54246 by alzander
Ahhh.. good sleuthing on your part to figure out it was that setting.

We don't use the multi-language features of Joomla much, so perhaps you can help explain a little more. When I go to the standard Joomla "login" module, mod_login, I see the same type of menu redirection option. You can only choose one menu for the user to be redirected to, just like JFBConnect. Can you tell me if the mod_login module (not SCLogin) does the redirection you'd expect it to perform? If so, we can look at what they are doing differently to see how we can improve our code.

If the standard Joomla login module doesn't work though, it would be a lot more effort to understand and fix the problem.

Please let us know. We'd love to help you get a solution to this problem.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #54249 by micdub
Hi Alex,

Same problem with the Joomla Login Module. I'll have to find another way to display that custom profile page.

Thanks for the good support. I appreciate :-)

A+

Michel
The topic has been locked.
Support Specialist
10 years 10 months ago #54252 by alzander
No problem. We're glad to help. If you find a good solution, please let us know. Especially if it's something within Joomla that works, since we should be able to easily replicate something done in another module.

Thanks,
Alex
The topic has been locked.