InMotion Hosting Support Center

logout link url

Category: Joomla 3

Neha Shama
2012-12-22 2:32 am EST

Hits: 5,188
create a external menu for logout.
i have tryed this link index.php?option=com_user&task=logout&return=Lw
but it not working.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



9,968 Points
2012-12-24 11:30 am EST
Hello Neha Shama, and thanks for your question,

If you're trying to create a logout link in your menu with Joomla 3, you should be able to follow these steps to accomplish this. You basically want to setup a new menu item that only displays to registered (logged in) users a logout link:

<ol class="article_list">

<li><a href="" target="_blank">Login to Joomla 3 admin</a></li>
<li>At the top click on <strong>Menus</strong>, then on <strong>Menu Manager</strong></li>
<li>From the left hand side, click on <strong>Menu Items</strong>
<li>Now in the top-left click on the green <strong>New</strong> link</li>
<li>Beside <strong>Menu Item Type *</strong> click on the <strong>Select</strong> link</li>
<li>Click on <strong>Users Manager</strong> to expand it, then click on <strong>Login Form</strong></li>
<li>For <strong>Menu Title</strong> enter in <strong>Logout</strong></li>
<li>For <strong>Alias</strong> enter in <strong>Logout</strong></li>
<li>From the <strong>Menu Location</strong> drop-down, choose the menu you'd like this logout link to display</li>
<li>On the right from the <strong>Access</strong> drop-down, click on <strong>Registered</strong></li>
<li>Towards the top you can also click on <strong>Advanced Options</strong> if you'd like to change where users get redirected to after logging out, or what text to display once they do so</li>
<li>Once you're done making all your edits, click on <strong>Save & Close</strong></li>


Hope that helps, if you have any other questions at all please let us know.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Support Center Login

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!