Wordpress users have thousands of themes to choose from. We hunt out the best of the best free and premium themes. You will find best of the best 2 columns, 3 columns, adsense ready, widget ready,
XHTML validated themes. Best themes for Wordpress powered blogs. Download quality and professionally designed Wordpress templates for free at BestWpThemez.com.
You can set the desired page when do logout from wordpress admin area. For that you have to modify wp-login.php core file of wordpress. Here is the code which needs to be modified:
This will redirect to the index page of the blog when you logout from wordpress admin area. You can set any page which you would like to be.
Thanks,
Shane G.
Popularity: 31%
This entry was posted
on Saturday, May 23rd, 2009 at 9:39 pm and is filed under WordPress KB .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
February 17th, 2010 at 10:58 pm
Shane, thanks for your post.
In my wp-login.php, the code I had to change was the last line in this code block (around line 315):
case ‘logout’ :
check_admin_referer(‘log-out’);
wp_logout();
$redirect_to = ‘wp-login.php?loggedout=true’;
to:
$redirect_to = ‘index.php’;