Login button rewrite with link for members

Hi guys, I’m new and I’m practically finishing everything up.

I had a problem, I have a login key which has ms-data-rewrite = “Account” as parameter but obviously the login key goes to login, only I don’t know how to make sure that when a member logs in, they redirect to another link.
Thank you

Hey Alexander :wave:

Welcome, and thank you for posting in the forum! :partying_face:

Great question. We are in the process of deprecating ms-data-rewrite. Instead, you would need to create a second link with the the href going to your account page and showing it by using this attribute


This will make the link only show for members who are logged in. The login button should be hidden after a user is logged in so you would only have to remove the ms-data-rewrite attribute for this to work. :smiley:

1 Like