WP LOGBOOK

Little adventures building sites with Wordpress…

How to redirect WordPress users to home page after logout

leave a comment »

In addition to my previous post, I want to redirect my wordpress users to the homepage after they logout. Normally, after users logout from wordpress, the next page they will see is the wordpress login/logout standard page.

To some designers, the page is an ugly sight but to some designers, that page is an opportunity for them to blend in alongside with their theme. You can find a very good tutorial on how to custom design the WordPress login page to your heart content.

Anyway, I searched the WordPress Codex and I found a very useful with examples on how to redirect users to either homepage or current page after logout.

Hope this will help someone who is searching for this solution. Have a great weekend! =D

Written by Yahya Ayob

April 16, 2010 at 11:02 pm

Posted in coding, tutorial, WordPress

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.