WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cannot login to wp-login.php on subdomain install (5 posts)

  1. moose123
    Member
    Posted 6 years ago #

    I just set up WP on a newly created subdomain (blog.mydomain.com) using my hosting company's cPanel (Fantastico). While my new WP site and wp-login.php page is up and running, I can't login to wp-login.php. I'm sure this has something to do with the database path or db prefix or something, but I can't seem to find any info about this specific problem in the forums.

    I appreciate any help.

  2. 1mil
    Member
    Posted 6 years ago #

    Ah, you know I have all my admin and backend stuff on a subdomain and i had the same problem. check out my post on how i fixed it.. maybe it will help.

    WordPress Cookie Hack

  3. sunburntkamel
    Member
    Posted 6 years ago #

    are you logging in to blog.mydomain.com/wp-login.php, or mydomain.com/blog/wp-login.php ?

    one of the two should work.

  4. moshu
    Member
    Posted 6 years ago #

    In most of the cases the issue with subdomain and cPanel is due to the fact that users select "redirect" for the subdomain instead of leaving it as it is - a subdomain!

    If you are NOT redirecting it, then your login should be at
    http://subdomain.example.com/wp-login - and it should work. I do have such a setup and never had any problems logging in.

  5. moose123
    Member
    Posted 6 years ago #

    Well I feel dumb. All that was required was re-setting the admin password via PHPMyAdmin, which I did but neglected to set the encryption to MD5. Once I did that, the login worked.

    Thanks for all the replies.

Topic Closed

This topic has been closed to new replies.

About this Topic