Try this in your functions.php file:
//fix for cookie error while login.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
Related Posts:
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- Change Login URL Without Plugin
- Replace wordpress login logo with custom text
- Using /wp-admin works, using /login gives a 404. Why?
- FORCE_SSL_ADMIN not working
- Use Password Protected Form without the use of wp-login.php
- wp-admin – 404 after custom login form
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- WordPress server change – slow admin login time for first time
- White screen of death for wp-admin and error for wp-login.php after entering credentials
- How to set where user is redirected to after logging in at wp-login?
- Why can I log into wp-login.php and not wp-admin.php?
- Disable Admin CP authentication (or auto login)
- When i try to open Localhost/wordpress/wp-admin . An Error appears ” Registration Has been Disabled” . No login page is shown in the browser
- Launch wordpress site to local computer from live website backed-up
- Custom login form logo not displaying
- WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
- How can we make managing lots of pages in WordPress Admin better?
- Show all post tags on post edit screen/sidebox
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- wp-admin pages return ERR_EMPTY_RESPONSE
- Unwanted redirect in admin area
- Looking for a hook to add attachment information to the media library tab
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Can’t access wp-admin Internal Server Error 500
- Can’t access dashboard, connection times out (other pages work fine)
- Getting post meta data, while editing a post in wp-admin panel [closed]
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Deprecated : contextual_help has been deprecated since version 3.3.0
- Just how ‘expensive’ is this function?
- Custom Background-Image not showing up
- admin_url in plugins
- Share Tags Between Custom Posts in Admin
- Filter dropdown in users.php “delete user” bulk edit screen
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- cannot find the login page for local WordPress site
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- WordPress notification reports
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- Page update through theme editor caused wp admin to break
- White screen of death on admin and other dashboard pages
- TinyMCE strips breaks inside editor
- Can I hook into wp_update_core outside of the admin?
- Ajax solution similar to WP Categories functioning in Admin area
- Difference between admin and user admin
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Editing edit-tags.php page in wp-admin
- What is the correct way to get only display plugin for Administrator Only
- displaying an error before update_post_meta
- Browse Happy in 3.2
- How to break line / add to ADMIN menu
- WordPress admin page not found error
- Outputting something based on the presence of post variable in admin screens
- Use of domain name
- “Add New” button on custom post type grid
- Where is function to prevents non logged users access wp-admin?
- CSS of the admin panel
- Dismiss Admin Pointer Temporarily
- WordPress admin right sidebar isn’t working
- WordPress menu to change page title
- wp-admin blocking causing http error on uploads
- Disable some features in Admin
- DISALLOW_FILE_EDIT is false but I still am not able to edit files from the admin interface and the menus do not show up
- Don’t run code if in customizer or privew
- What hooks should you use to create a table only once?
- Custom admin menu order fails if slugs are complicated
- Redirect WordPress login for customers but not admin
- Cant access wp-admin
- Function to get a ‘post selector’ UI?
- Unable to open specific posts on WP Dashboard [duplicate]
- How to list newly ftp added HTML webpage under Pages section of wp-admin?
- Hi everyone, I have Problem with using wp_die()
- WordPress wp-admin Page
- How can I trigger a javascript function after a post update on edit post screen in wordpress admin panel?
- restrict admin panel sections to users
- how to set not to be logined in wp-admin except administrator?
- CSRF attack to create USER
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- Random HTTPs redirections at admin area in shared hosting
- WordPress Login for multiple sites
- Blank sign in page
- add_post_meta displays in admin edit area
- Forcing WordPress Administration onto a separate SSL Host
- How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?
- Action for opening edit page in admin?
- What is the point of new confirm admin email process?
- ‘Too many redirects’ error after changing site URL in WordPress [closed]
- Couple questions about .htaccess, login page, updates
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Https Website: CSS and JS files load in http and admin page does not load too