Applicable to:
- Plesk Onyx for Linux
- Plesk Onyx for Windows
Symptoms
- An attempt to log into WordPress Dashboard from Plesk via Domains > example.com > WordPress > Log in fails with the error 404.
- It can be opened via direct URL in the browser:
https://example.com/wp-login.php
- When WP Dash board is open from Plesk the Browser URL shows incorrect link, for example:
https://example.com/https://example.com/wp-login.php
-
Domains > example.com > Wordpress > Setup (next to login) shows the absolute path to
wp-login.php
:https://example.com/wp-login.php
:
Cause
The Login URL is not configured correctly, the relative path should be used instead of absolute one.
Resolution
- Log into Plesk;
- Modify the Login URL to wp-config.php from Domains > example.com > Wordpress > Setup (next to login) as follows:
- Save the changes.
Comments
2 comments
Hello,
It's still not working. What can be the problem?
Hello Laetitia Keyrouz,
Please check that website resolves to Plesk server, or add it to "hosts" file of a computer.
Also check in File Manager, that all the necessary files for WordPress installation exist. Such as index.php, wp-login.php. Otherwise, reinstall WordPress.
Please sign in to leave a comment.