Title: WordPress Failed Login
Last modified: November 16, 2016

---

# WordPress Failed Login

 *  [shadowsong316](https://wordpress.org/support/users/shadowsong316/)
 * (@shadowsong316)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/wordpress-failed-login/)
 * Hi all, hoping you can help with an issue that’s been bugging me with my wordpress
   site.
 * I was previously using WP-Members plugin with my wordpress site to manage logins.
   I’ve now decided to revert back to the default wordpress/theme login. However
   the problem i’m having, is that when users or admins go to login from either 
   a new location/incongnito/private session, it will always fail the initial login
   with “Incorrect username or password”.
 * Despite it saying it has failed, it does actually work and they are authenticated.
   Either refreshing the home page or going back will show them as logged in.
 * The login itself is not default, it uses the one built into the Oblivion gaming
   theme as seen here – [https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609](https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609)
 * At my best guess, the issue is with the login built into the theme, and there
   is some sort of issue that causes it to redirect if the user doesn’t have a cookie
   stored for the site previously.
 * I’ve disabled all plugins just to check and the issue remains.
 * If you want to see the issue for yourselves, my website is [https://astral-imperium.co.uk](https://astral-imperium.co.uk)
 * Any help or info on this would be appreciated!
    -  This topic was modified 9 years, 7 months ago by [shadowsong316](https://wordpress.org/support/users/shadowsong316/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 7 months ago](https://wordpress.org/support/topic/wordpress-failed-login/#post-8445596)
 * IF you change the theme to twentysixteen, do logins work normally?
 *  Thread Starter [shadowsong316](https://wordpress.org/support/users/shadowsong316/)
 * (@shadowsong316)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-failed-login/#post-8457790)
 * Yep default logins are working fine, as are other themes.
 * I’ve put my default theme files back in and the error that comes up after the
   re-direct to the default WP login is “ERROR: Cookies are blocked or not supported
   by your browser. You must enable cookies to use WordPress.”
 * But as i said, if i refresh the page or go back then i am actually logged in 
   anyway.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-failed-login/#post-8457799)
 * As the issue is related to your theme, the best place for help is the theme’s
   support forum: [https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609/support](https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609/support)
 * Have you tried, though, deleting all cookies related to your site in your browser
   or using a private/incognito browsing session?
 *  Thread Starter [shadowsong316](https://wordpress.org/support/users/shadowsong316/)
 * (@shadowsong316)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-failed-login/#post-8457814)
 * Found a fix online that seems to have resolved it, had to add this to my themes
   function.php
 * setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN);
    if (
   SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, SITECOOKIEPATH,
   COOKIE_DOMAIN);

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress Failed Login’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [shadowsong316](https://wordpress.org/support/users/shadowsong316/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-failed-login/#post-8457814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
