How can I get rid of the logout page and just logout in Joomla 1.5.x?
Mon - 26 Oct
Written by Administrator
Joomla has a built in page that asks if you want to logout even though the only way to get to the page is to click logout. This is aggravating and can be annoying to visitors. Want visitors to be logged out when they click you menu links that say logout instead of having to go to another page and click anothe logout link?
Try this:
Create a menu item for a external link and copy and paste the following code in it:
index.php?option=com_user&task=logout&return=aW5kZXgucGhw
this will logout the visitor an dreturn them to the homepage. You can use any base64 encoded url you want. Base64 encoded you say quizzically? Don't worry about it - just go
here and enter your url and then copy and paste after the = in the url above replacing the aW5kZXgucGhw which is base64 for index.php.