When I try to log out using this widget, I get an error 404 not found. I have identified that it’s this line causing the problem in alw_template.php:
<?php echo wp_logout_url('/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']); ?>">
My WordPress is installed in a sub-directory and so /wp-login.php is not found. I have modified the code to
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
That seems to do the trick. Thought I would save some time for anyone else trying to use the plugin.
- The topic ‘[Plugin: AJAX Login Widget ] Errors when logging out’ is closed to new replies.