• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question WP Admin Login in Website Preview

saikish78

New Pleskian
Unable to login into the website preview WordPress. There is always an error saying Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
 
The site preview doesn't have all the features available. If you'd like to access the WordPress installation, point to it from the hosts file on your local computer instead.
You can find guides online that show you how to do this. If you need additional guidance, tell me the operating system on your PC and I'll give you some pointers.
 
You also have the option to add these lines to your wp-config.php file temporarily, so that Wordpress knows that it is running on the preview URL:
Code:
define( 'WP_HOME', 'https://<preview_URL>' );
define( 'WP_SITEURL', 'https://<preview_URL>' );
 
You also have the option to add these lines to your wp-config.php file temporarily, so that Wordpress knows that it is running on the preview URL:
Code:
define( 'WP_HOME', 'https://<preview_URL>' );
define( 'WP_SITEURL', 'https://<preview_URL>' );

Hi,
I used/tried the define of home and siteurl, with the preview URL and the CSS for the site is messed up... so thinking:
A) it doesn't work or it doesn't help my WP situation
b) is there another trick?

if I use hosts file, all is perfect.
 
Unable to login into the website preview WordPress. There is always an error saying Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
I had the same issue when trying to log in to the WordPress website preview. It can be a bit tricky, but here's what worked for me:

  1. Open your browser settings (I use Chrome, but it should be similar in others).
  2. Look for the "Privacy and Security" section.
  3. Find the "Cookies" settings.
  4. Make sure cookies are enabled. Sometimes browsers update, and settings get reset.
After I did this, I was able to log in without any problems.
 
Back
Top