Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

User-logout_url Tag

Example#

<a href="{{ user:logout_url }}">Log out</a>
<a href="{{ Statamic::tag('user:logout_url')->fetch() }}">Log out</a>

Parameters

redirect

string

Where the user should be redirected after logging out. Defaults to the home page.