A new client of me can't login to his old(er) Wordpress website: wp-login gives a 404 error and wp-admin gives a 500 error.

Here are the links (removed)

I came across this issue before, but this time nothing seems to help. What I have tried so far (one by one so they don't affect eachother):

  • rename plugins-folder through ftp
  • rename active theme folder through ftp
  • rename .htaccess file
  • added the following lines of code to wp-config.php:

    define('WP_HOME','https://###'); define('WP_SITEURL','https://###');

I have searched around for other possible fixes, but haven't found anything. Anyone knows what else i can do?

  • hi i help you please debug true in wp-config.php file and check error and message me Commented Jan 9, 2019 at 12:02
  • A 500 error is an internal server error. This error may be due to a script error or misconfiguration of your web hosting. It is not necessarily the hosting is responsible but surely, in any case, this error can be resolved by you. Commented Jan 9, 2019 at 12:13
  • please check folder permission and add wp-config file define ('WP_MEMORY_LIMIT', '300M'); Commented Jan 9, 2019 at 12:13
  • 2
    /wp-login/ is not correct. It's /wp-login.php. Granted, you'd just get a 500 error if you logged in, but that's why you're getting a 404. Commented Jan 9, 2019 at 12:28

2 Answers 2


yourdomainname/wp-login (Wrong) -- 404 or NOT FOUND
yourdomainname/wp-login.php (Correct) --> you will redirect to page login
yourdomainname/wp-admin (Correct) --> you will redirect to page login:
enter image description here
Make sure your site has SSL installed so that it can be accessed with httpS. If not, try with http (only)
Please open your Hosting, go to public_html directory. Open error_logto see the reason for error 500. Then paste the error in the question. This will make it easier for the answerer to find the exact problem
enter image description here


If issue still not solved,After trying all the options given by all then you may try to check the folder structure of wp-includes and wp-admins. Check all the file with wordpress core file. There might be some file deleted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.