I was attempting to move my WordPress site from a subdirectory to the root, and went into General>Settings in the admin panel to remove the subdirectory from the URL. I left the / after the site URL, and now I can’t login to the admin panel (it just redirects back to the login screen). It is not referencing the installed theme, either, but my custom styles are intact.
I have access to the code in CPanel. Is there a way to get back into the admin panel so I can correct that? Or a way to change it back via File Manager?
Thanks so much for any help!!

EDIT I can get to the login screen from /wp-login, but /wp-admin is throwing a 404.

Read more here: WordPress Admin Can’t Log In


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: