hmmm, I’m just not wrapping my head around this concept.
The thing that is confusing to me is maybe the way I’ve got my site set up? In my header, I have the member links (login, logout, register, profile, etc.) So, if the user is logged in, no matter what page they are on, they will see the “logout” link at the top in the header. So, no matter what page they may happen to be on, if they decide to logout, they should be returned to that same page after logging out.
If I understand what you’re saying, you’re saying that I could use
{exp:logout_redirect url="http://www.deronsizemore.com/{segment_1}/{segment_2}/{segment_3}" text="Log out and stay on this page.” styles="class=’logout-link-class’ title=’Logout Link’"}
And that will return the user to the page they were on when they clicked “logout?”
If that’s true, what if they are on a page that does not have three segments? A few of my static pages only have one segment, so will having “/{segment_1}/{segment_2}/{segment_3}” in there cause a problem?
Maybe I just need to try this and see what happens. Possibly make more sense after I dig into it.