Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How to fix blocked cookies error that doesn’t let me log into wp-admin?

I added these lines in wp-config above /* That's all, stop editing! Happy blogging. */ line:

define('ADMIN_COOKIE_PATH', "https://wordpress.stackexchange.com/");
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );

Related Posts:

  1. WordPress MU: Cookie error when trying to login on network WP instance
  2. Subdomain login problems
  3. Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
  4. Single sign on to sub-sites in Multisite Network
  5. How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
  6. Is there a is_user_logged_in() for multisite?
  7. Switching MultiSite installation from HTTP to HTTPS
  8. How do I change the Multisite URL?
  9. Troubleshooting a “You do not have sufficient permissions to access this page” error
  10. COOKIE_DOMAIN setting confusion
  11. Ban SiteNames Multisite
  12. Security in WordPress plugin development
  13. Unable to login to new custom domain on multisite?
  14. share login/logout sessions across two installs?
  15. How to Login Once to an Entire WP Multisite Network
  16. Error 101 after upgrading WordPress
  17. Multisite – Redirect All Users to Subsite Home Page on Subsite Login
  18. (How) Can I change my Multisite Network to use a different blog as Primary?
  19. Login redirect_to loop with reauth=1, cookie expiry set to 1 year in past
  20. Trying to migrate a WordPress Multisite with Domain Mapping
  21. Getting an ERROR: Cookies are blocked error when logging in to a site on a different domain?
  22. How to resolve error “Cookies are blocked due to unexpected output.”?
  23. WordPress Multisite Login Access
  24. PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex
  25. WordPress Multisite local: wp-login.php refreshes on login Chrome Browser
  26. ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
  27. How to stay logged in on a multisite with different domains?
  28. Login on Multiple Sub-Domains without Multisite
  29. Fresh Multisite Install – Can’t Log In
  30. Migrating Multisite – Database error, missing wp_blogs table
  31. Auto Redirect after login
  32. WordPress MultiSite login to the respective site
  33. wp-config dynamic hostname in WP_HOME and WP_SITEURL
  34. WordPress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing
  35. How to solve this issue
  36. How to move 1 WP site from a mult-site environment to a different multi-site area
  37. Multisite with different domain names on different servers
  38. Good way to block users within a multisite setup without deleting them?
  39. Cookie signed verification failed – wp-saving-post
  40. WordPress rewrite multisite blog url
  41. Automatically login user across multisite
  42. WordPress: how to change URL for individual MultiSites?
  43. How can I remove the folder from a Multisite URL?
  44. How can you override the is_multisite check in wp-login.php for individual login/registration?
  45. Login problems on multisite installation with different domains
  46. How to write RewriteRule for login in multisite
  47. Debugging unserialize errors [closed]
  48. Suspicious mesage appears instead of images
  49. How do I get the site url from a Block (within the block editor)
  50. Error : Cookies are blocked or not supported by your browser
  51. Multisite Login problem
  52. Problem in logging in as admin
  53. Https and Http Login Issue on WordPress Multisite
  54. Include www prefix in site URL
  55. How do I stop exactly one blog from network ever setting cookies?
  56. Different Domains in Multisite Setup
  57. Multisite infinite redirect loop
  58. Disable site visiting and user logins excepting for a specific user
  59. Infamous admin login redirect
  60. Multisite cookies are being shared across domains unwanted
  61. How can I create network with different domains?
  62. Restrict users of site 1 to login in site 2 in wordpress multisite
  63. Interchanging WordPress Multisite primary site
  64. Unable to execute Ajax request, status code 400
  65. How to display custom logo on WordPress login page
  66. Add www to the Root Site in WP Multisite Network
  67. Multisite problem with unexisting paths to CSS etc
  68. Remember language choice on multisite website
  69. Moving from a non WordPress site to a WordPress Site – Login between both sites
  70. Getting file errors in a WordPress Multisite ADMIN
  71. Domain not redirected correctly with WordPress Multisite
  72. Primary (root) blog of multisite installation forbidden (403)
  73. Error establishing a database connection after moving local wordpressmultisite from one directory to another
  74. There is how to change url domain on some posts?
  75. WordPress Multisite: Login to all subsites at once
  76. Multisite – site user limited only for this site
  77. Unable to sign in to network after moveing address but able to login into child sites
  78. Update siteurl and home in multisite subsites to https
  79. User not staying logged into one of sub sites in multisite after SSL
  80. WordPress automatic Login on other page?
  81. how to make a cronjob run, when user needs to be logged in
  82. WordPress Network with SSL for multiple domains
  83. Why does this multisite redirection loop vanish when I add “www.”?
  84. One login for 3 WordPress installations with combined user table doesn’t work
  85. Blog broken after changing Site/Home URL
  86. Multisite: Redirect Subsite Administrator to Subsite Home Page, Bypassing Dashboard
  87. Admin user getting redirected to /wp-admin/user
  88. Error establishing a database connection – Multi-site with subsite don’t exisit [duplicate]
  89. How to set up wp multisite?
  90. Is it possible to create a login for restricted visibility?
  91. Remove blog slug from WPMU?
  92. How do I combine wp_redirect and add_filter?
  93. Some Subdomains on a Multisite Install Not Found
  94. Common login for websites belonging in different networks
  95. WordPress MS wp-admin/includes/post.php error with shortcode generator
  96. 4th Network Site Database Errors?
  97. Multisite subdirectory blogs missing slash
  98. Best Way to Setup a Network of WP Sites?
  99. Advice on WP site structure using multisite
  100. ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress
Categories multisite Tags cookies, errors, login, multisite, site-url
Gutenberg block – Save PHP function’s output as HTML?
WP_Query order by custom field, then randomly order some of results

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress