- Plesk Obsidian for Linux
- Plesk for Linux
When trying to login to WordPress admin dashboard, the following error is shown:
PLESK_ERROR: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
Website Preview is set to Default Quick Preview in Tools & Settings > Website Preview:
Bug #PPPM-11633 in Plesk which will be fixed in one of the future releases.
As a workaround for Plesk Obsidian:
- Connect to the server via SSH and disable Plesk access on port 443
# plesk bin admin --disable-access-domain
Go to Domains > example.com and click Preview.
In the new window, add https in front of the link in the address bar:
Note: if the solution above does not work make sure that Domains > example.com > Databases > phpmyadmin > prefix_options > siteurl and home are not customized. Correct values should be https://www.example.com for both
Note: For Plesk Onyx there is no workaround available at the moment. Consider using a local hosts file to access CMS that is not publicly available or upgrade Plesk to Obsidian to use the workaround from this article until the fix becomes available.