-1
votes
1answer
34 views

Wordpress Logout Redirect Follow up

You answered a logout redirect question for this guy a while ago, I implemented the code and it worked great, thanks! (http://wordpress.org/support/topic/wp-logout-page-redirect-to-homepage) My ...
0
votes
0answers
60 views

after logout, get_current_user_id still holds value

I added a login, logout menu item to a menu with the following code in functions.php. After logout it redirects to the current page. But surprisingly enough, the get_current_user_id method still ...
0
votes
2answers
897 views

How to redirect logged out users to specific page?

I have a question and a technical issue in wordpress. That is, i have a login form on my website to allow visitors to login to see special content. The question goes here, when the time they log in, i ...
0
votes
0answers
448 views

WP Logs me out after updating anything on dashboard

Not sure what is going on here but my live site kicks the admin out every time they change something in the dasboard. For instance when an admin updates a page the url looks like ...
3
votes
1answer
417 views

Logout/login redirect CSS issue

I'm using WordPress Multisite. When I use wp_logout_url(), I get redirected to the login page but somehow I end at a different login page without any styles applied <a href="<?php echo ...
1
vote
3answers
1k views

Redirect user after logout

I am trying to create an unsubscribe page for my members, but in order to see the unsubscribe form, they have to be logged out, so the first link is: ...
3
votes
1answer
954 views

Masking logout URL

The primary goal is to hide that the site is driven by wordpress. I've got the login part all locked up, but the logout URL still has those blasted wp delineators that give away it's a wordpress site. ...
3
votes
2answers
1k views

How to change the default logout link on WordPress Admin

I want to use other link for logout because i have /wp-admin/* protected with htpassword. Is there a way to do this? Something like create a custom page like site.com/logout then use it as my new ...
1
vote
2answers
2k views

Logout redirect to home page

I'm using custom menu for login/logout here below is my code: <li> <?php if (is_user_logged_in()) { $user = wp_get_current_user(); echo 'Welcome <strong><a ...
1
vote
1answer
594 views

wp_logout_url redirects to incorrect page because of pagination

Following a Wordpress Pagination tutorial, wp_logout_url( get_permalink() ); no longer redirects to the correct page. Instead of redirecting to say domain.com/page/2/, it redirects me to one of the ...
4
votes
1answer
1k views

handling login/logout redirects

I have a couple issues with the way Wordpress handles redirects on login and logout. Standard behaviour is: login: /wp-login.php (with no redirect_to url) -> /wp-admin.php logout: /wp-admin.php ...