Im having some problems with my redirection after the login using the "return" GET parameter.
I'm using jfbconnect with Community Builder and i have turned redirect after successfully login of in the SCLogin module and in the JFBConnect component options. Since i wanna use the return param only.
I've set up a page named
mypage.dk/login for log-in where i have attached the JFBConnect SCLogin module.
If i log ind with the ordinary login (CB login fields) then it wont redirect unless im using a joomla non-SEF url: base64_encode("index.php?option=com_content&view=article&id=23").
It works as it should and redirecting me to a Joomla SEF url afterwards.
But when i login with the blue facebook button then it redirects me to:
index.php?option=com_content&view=article&id=23 - and not the SEF url.
The blue facebook button can redirect me to the desired page if i send the desired sef url baseencoded with like this:
base64_encode("/opskrifter");
But it doesnt work with the ordinary login(CB-login)
How should i do this to make both the login types redirect me to a SEF url?
Thanks.