I have two site collections: https://myportal/collection1 and https://myportal/collection2
- I configured FBA on SharePoint 2016
- Deployed SP 2016/2019 FBA Pack
- Created a RegistrationForm.aspx with Membership Request Web Part
- Created a custom FBA login page (I copied default.aspx and made some changes: added logo)
Everything works fine.
Now I need help redirecting the login page on the registration form (for new users).
I need a link on the login page that would lead to the registration page in the site collection that the user is trying to access (e.g. if the user is trying to access https: // myportal / collection1to take it to https: // miportal / collection1 / SitePages / RagistrationForm.aspx, and if the user tries to access htps: // myportal / collection2 to take it to https: //myportal/collection2/SitePages/RagistrationForm.aspx).
This way I would also solve the problem of linking to the web page in the message the user receives after registration.
I am new to this field and I need help.
I hope you will help me
Best regards