Topic-icon Redirect after login

Active Subscriptions:

None
11 years 1 month ago #52892 by matkay
Redirect after login was created by matkay
Hi,

First up the component is awesome.

Second up ... if I set the read more link of my articles to registered users only, or if the user goes to a page that is only for logged in users and sign up via fbconnect how do i redirect them to the page they wanted to go to?

The component has a lot of options so I probably just missed it?

Cheers,

Mat
The topic has been locked.
Support Specialist
11 years 1 month ago #52900 by alzander
Replied by alzander on topic Redirect after login
Thanks for you compliments on JFBConnect. We work hard to make it more awesome every day :)

As to your question, the answer is that it should redirect back to where the user originally came from. If it's not, it likely means that something (like an SEO extension) is rewriting URLs in a way that's causing problems.

The best way to check what's going on is to:
* Be logged out
* Go to the article you want to read
* Click the Read More link
* You should be brought to your standard Joomla Login page.
** In the URL, there should be an extra query string variable like &return=alkjsldkjflkjgobbledy-gookJJK

JFBConnect will detect that &return variable on login and should redirect the user back to what jumbled up code translates into.

Can you check if the return variable is being set on the URL? Either way, some options to test with are:
* Disable SEF URLs (either in Joomla's Global Config and in any 3rd party SEF extensions you have)
* Set the "Returning User Login" and "New User Redirection" settings to "Same Page" to see if that helps

Let us know how any of the above explorations or tests help and we'll do what we can to get you going.

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

None
11 years 1 month ago #52950 by matkay
Replied by matkay on topic Redirect after login

Set the "Returning User Login" and "New User Redirection" settings to "Same Page" to see if that helps


Yeah that fixed it. Cheers.
The topic has been locked.
Support Specialist
11 years 1 month ago #52960 by mel
Replied by mel on topic Redirect after login
Glad that solved your issue. Let us know if you run into any other problems.

-Melissa
The topic has been locked.