I have a client that wants users to be able to click on a link to a member-only article, be directed to login, and then again directed to the article when they log in.
Right now this is what happens:
link = www,site.com/member-only
URL changes to http://www,site.com/index.php?option=com_user&view=login&return=aHR0cDovL3d3dy5vcHRvbWV0cmljc29jaWV0eS5vcmcvY29tcG9uZW50L2NvbnRlbnQvYXJ0aWNsZS8xMi1tZW1iZXItdG8tbWVtYmVyLzI4OS1zdGFuZC1hbG9uZS12aXNpb24tcGxhbnMtdGhlLWFvYS1oZWFsdGgtY2FyZS1leGNoYW5nZXMtYW5kLXRoZS1oYXJraW4tYW1lbmRtZW50Lmh0bWw=
Then this is when CB takes over and for some reason takes the above URL to the registration URL:
http://www,site.com/component/comprofiler/registers
Not sure I'eve ever seen that before. Is there somewhere in config that allows restricted articles to be redirected to the Reg page? How to stop that and allow com_users to take over and redirect to log in page which would then take user to article upon successful login?
CB 2.3, CBsubs 4.3, PHP 7.1, J! 3.9.X