Hi,

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:

Default:
<a href=”<?php echo wp_logout_url(); ?>” title=”Logout”>Logout</a>

Example:
<a href=”<?php echo wp_logout_url(‘$index.php’); ?>”>Logg ut</a>

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%

Related posts:
  1. Plugin: Quick Page Post Redirect Hi, Quick Page/Post Redirect Plugin redirects WordPress Pages or Posts...
  2. How To Add Images In Login/Logout Link In WordPress? Hi, WordPress code is an open source so any one...
  3. How To Remove Header Image From Specific Page In WordPress Blog? Hello All, Whenever a certain requirement arise where need to...
  4. How to hide your wp-admin login page? How to hide your wp-admin login page? Change YOURSECRETWORDHERE to something...
  5. Case Study: Blank page after login into wordpress admin area Hi, I have upgraded my wordpress version to 2.8 and...

Leave a Reply

You must be logged in to post a comment.