Add below line to your wp-config.php before /* That’s all, stop editing!…*/
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
/* That's all, stop editing! Happy blogging. */
Related Posts:
- Getting “Cookies are blocked or not supported by your browser” on login page
- Login page ERROR: Cookies are blocked due to unexpected output
- Removing username from the ‘wordpress_logged_in’ cookie
- Cookie settings for session across WPML subdomains using custom AJAX login
- Login redirect_to loop with reauth=1, cookie expiry set to 1 year in past
- Get user ID after logging in
- Login with cookie but without using WordPress code
- Get wordpress stored cookies for custom login
- How to get login data (session) outside WordPress?
- Login cookie across multiple domains on network w/ mapping
- Can’t login after URL change
- How to set different cookies for logged in admin users and logged in non admin users?
- 2 wordpress blogs with 1 users table and 1 login
- Logins through alias
- v5.6.2 User cannot stay logged in – wordpress_test cookie placed but not auth cookies
- Removing wordpress cookie from non-wordpress site
- Getting a person’s username from a wordpress cookie
- Cannot log into migrated site
- One time login on 2 different WordPress sites
- Moving from one host to another – cannot access the dashboard
- How to force “remember me” users to login again?
- Multiple issues with Ajax login function due to browsers and cookies
- Sharing a logged in session with a custom subdmain site?
- Will the same WordPress logins work after a site migration?
- Get WordPress logged in username from root domain when WP is installed in a subfolder
- wp-cron event doesn’t run when custom login API is enabled
- Extend Cookie with auth_cookie_expiration not working
- Custom login method appears to ignore auth_cookie_expiration
- Why deleting/removing cookies in WordPress does not log me out from admin?
- Cookies error during first time login attempt
- Opening protected page with cookie?
- WordPress Cookies – wp_set_auth_cookie
- Why doesn’t the “Remember Me” checkbox work for me on a live website? Only works on a local server environment
- Share login status across subdomains without network
- How to remove without touching the pluggable.php the wordpress_logged_in cookie to show the username on login?
- Custom login form
- Adding extra authentication field in login page
- Stop WordPress from logging me out (need to keep me logged in)
- Customize wp_new_user_notification_email()
- Need to execute a cron job
- Login email after registration never sent or received
- How can I retrieve the username and password from my WordPress installation?
- User Directory without a Plugin
- User logon by using mobile number [closed]
- Pre checking condition before login
- Custom Connect to Facebook, problem logging in/logging out
- Redirect after empty login username and password
- Are there ways of logging in that bypass wp-login.php altogether?
- Change Favicon on Login Screen?
- Customizing the WordPress login form
- wp-login gives 404 error, but wp-admin is working fine
- Login error redirecting to wp-login page
- Private page protected with username and password
- Replace dash with space in username on login
- Autologin only working the second time
- Why wp_update_user doesn’t update user_activation_key on users with apostrophes in their email?
- Forgot Password/ Password Reset Page does not exist
- WordPress on Apache behind nginx using letsencypt issue with loginizer/limit login attempts
- Auto login between word press subdomain and a .net website
- Custom Login form from WordPress site to non-WordPress site
- WordPress error on log out ‘Not Permitted’ and can’t log out
- How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?
- Changed primary domain and now wordpress login won’t work
- Add logout link when logged in, make it disappear when logged out?
- Forcing frontend login with UI switch
- Sidebar login widget with error print, returns an error
- Login without Password
- Exclude login page from custom maintenance code
- Temporarily locked out … how long is a “short while”?
- Change default login auth
- I can’t access my WordPress dashboard – shows Warning message [closed]
- Access log “POST /wp-login.php HTTP/1.0” 400
- Are login functions considered part of the WP backend?
- SQL – Remove All The Users and Create A New User With Admin Role Via PhpMyAdmin
- Can I protect a type of content site-wide with a single password?
- Sign in with social media accounts without creating a WP account [closed]
- ERROR: Cookies are blocked due to unexpected output (no FTP access)
- How do I change the language of the login page to Arabic?
- MAMP localhost wordpress site, not possible to sign in, username and password are correct
- Login issues wordpress page
- How to post frontend login form to a different authentication script from wp-login?
- Make WordPress User Name be the Company Name when Registering (not the default ‘first name’ last name’ email address’)
- Why do I have a reauth=1 redirection loop when I try to log in to WordPress hosted on AWS Fargate?
- Login form does not store/remember/suggest users password
- Problem with is_user_logged_in() function in some pages
- WordPress login loop on proxy setup with SSL – Apache proxy to IIS
- Android app – can’t login: “This site already exists in the app, you can’t add it”
- backend access per user status
- Make WordPress User Name the Email Address When Register
- Save user login date
- Login with Username (or Code) only
- Enqueue script on logon failure
- I get 404 when I try to login ever since I changed the permalink
- Is there a way to give users the option to log in to their favorite group on login? [closed]
- Direct access to site when log in
- Can not login after moving to cloudflare and adding rules
- Inconsistent login state
- Can i hide a dynamically created div to logged out users?
- Why am I not able to login to the admin
- WP behind haproxy weirdness