Login out from a dynamic page

Hi all

I am quite new to Corvid and I have little experience with coding. What I would like to have your help with is to fix the issue of login out from a dynamic page. Currently, I am getting a 403 error page.

Any ideas? I really appreciate your support.

Cheers

Rodrigo

https://support.wix.com/en/article/troubleshooting-403-or-404-error-message-on-dynamic-pages

Thanks for the reply. I think I will not have the time to sync the data manually every time users add, edit or delete it.

I followed the article instruction and it didn’t work.

What are you trying to let the users add, edit or delete?

If it something simple like a profile, then just use this tutorial as a guide:
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area

Although the easiest option would be to just take off the logout option on your dynamic pages as when any user logs out whilst they are viewing their dynamic page, they then don’t have the required permissions to view the page that they are still on.

Hence the 403 error after logging out…

You could also try adding code to the page so that the user is redirected to another page, for example your homepage, after the user logs out so that they are not left on their own dynamic page and getting the 403 error:
https://www.wix.com/corvid/reference/wix-location.html

hi. Thank you so much for the support. I really appreciate it.

I decided not to work with dynamic pages. they are too cumbersome for me. I will create the pages within the members menu. Much easier.

Cheers

I am having the same issue. It’s not a good user experience and not using dynamic pages or taking out the log out option on dynamic pages is not an option.

Any chance one of the Velo admins can supply that line of code that redirects users to a non dynamic page? So that us mere non coding mortals can stop spinning our wheels? :joy: