• Resolved ongtianhua

    (@ongtianhua)


    Hi all,

    I suddenly had a problem with logging in to my custom WordPress site.

    Previously, I used to go https://www.mydomain.com/wp-admin/ and a HTML login form is displayed for me to log into the administrative corner.

    However today I noticed that when I navigate to /wp-admin/, the URL changes to /wp-login.php (I didn’t pay attention if it’s like this previously), and displays the login in an Authentication Required popup window. When I entered the same username and password combination as that I use in the HTML form – the popup disappears then reappears again without any error displayed.

    I tried most of the solutions given in the www.remarpro.com troubleshooting page, and even to the extent of reinstalling the whole site. But even in reinstalling, after the last step where I pressed Login, the same problem occurs, even as I use the username and password I just created like a minute earlier.

    Does anyone else experiences the same problem?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please post a screen shot of what you see when you try to login on imgur.com and then post a link to that here. Thx.

    Are you having the issue like this on the screenshot: https://i.stack.imgur.com/oaVEu.png ? I used to have that with Chrome now and again, normally it’s fixed for me when I login with the details provided by my hosting supplier (and not the ones from my WP install).

    Hope this helps

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That’s not a WordPress login. It’s an htpasswwd login, probably called from .htaccess, either in your main .htaccess file or in one in the wp-admin directory, or possibly in the directory above public_html.

    If you didn’t add that (possibly via your hosting control panel), contact your host to see if they’re trying to be “helpful”.

    Thread Starter ongtianhua

    (@ongtianhua)

    Hi @sterndata and @nocturnae,

    Thank you for your prompt responses. I meant to post a screenshot but forgot about it, my apologies on that. Please refer to the first 2 images in this link for my problems: https://imgur.com/a/9aKvZ

    Indeed it does seems like an .htaccess login that I worked with years ago. As my WordPress blog was hosted on my purchased webhosting server but operates under another domain that I added using Addon Domains, the folder doesn’t reside in public_html but in the root folder. I tried to delete and reupload the .htaccess files but all to no avail. It couldn’t have been a permission setting resulting from not putting the folder in public_html as it worked fine all along until the problems appeared yesterday.

    But something that @nocturnae mentioned caught my eye – Chrome. Hence I used Firefox instead, and presto – I’m greeted with the last screenshot. After entering what they asked for, I can finally login. Duplicating the username and password on Chrome works too.

    I have no idea what happened either, but either way I’m happy I am able to login now.

    Thank you both so much for your help =)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot login to custom WordPress site’ is closed to new replies.