I'm redirecting the user to the login form using php header functions. In aMember v3 I used to be able to add a redirect URL to the query and this would mean when the user logs in they are taken back to that URL. This query stopped working with aMember v4, and it seems to be set as a form element. How can I specify a URL to redirect to after login, when I am redirecting the user to the login page?
Can this be used to send people to product page after purchasing, instead of to membership page? For instance, I will be using Google Conversion Optimization. The customer will go to a sales page, click on the "buy now" button which will have this signup/index/c/wBseeAxPnS/?amember_redirect_url=product-url.com. When they finish the payment will they be redirected to the product page?
No, this will not work. But seems we have to implement Product Redirect After Purchase URL setting and it will be added to next version.