• I have come across many of the same topic but most of the replies suggest deactivating plugins or themes. I have a fresh installation of WordPress. Right off the bat, I’m unable to access the wp-login or wp-admin screen. I never even got to the point of installing any themes or plug-ins. This installation is on a Windows Server (NO APACHE HERE!) I have two separate installations of WordPress on a virtual server. Each has it’s own IP address. Both sites are internal. I managed to set-up one site but was never able to get the Pretty Permalinks to work on that site. So, I decided to set up my second site which is the default website in iis. If I type https://localhost/nameofsite/wp-login.php I get a 404 error, if I type the same with wp-admin.php I get a 404 error, if I type https://IPaddress/nameofsite/wp-login.php I get an html version of the WordPress login screen. If I type in the username and password in that login screen I get a 404 error. If I type https://IPaddress/nameofsite I get an html version of the WordPress dashboard. Help!!!
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try these steps

    1) Create a new sub-folder under the web root (eg: test)
    2) Create an index.php script and add test (eg: echo “Hello world”) to the file
    3) Try running https://localhost/nameofsite/test OR https://localhost/test/
    4) Try the above with the IP and note.

    Let us know the results in detail of each of the test

    Thread Starter BarbaraAS

    (@barbaraas)

    I get a 404 error when using localhost. When using https://IPaddress/test I see the echo”Hello World”.

    Thread Starter BarbaraAS

    (@barbaraas)

    Hello? Anybody out there?

    Thread Starter BarbaraAS

    (@barbaraas)

    Good thing this wasn’t a 911 call, I’d be dead by now…

    Is anyone willing or able to assist me with this problem? Rajesh gave me a few steps to follow and I posted what happened after I tried each one. I don’t know what to do next.

    Thank you.

    Thread Starter BarbaraAS

    (@barbaraas)

    Anybody?

    Thread Starter BarbaraAS

    (@barbaraas)

    I just tried the WordPress Codex “Changing The Site URL” and edited my wp-config.php file by adding:
    define(‘WP_HOME’,’https://example.com’);
    define (‘WP_SITEURL’,’https://example.com’);
    This caused the wp-login screen to show up as it should. I entered my name and password and got into the WP dashboard. Things looked great until I accessed “Appearance”, “Themes”. All of the default themes are a blank (white) box with the tiny x in a corner. If I try to view the website I get html. I tried to download an image into the Media Library but all I see is an empty box with the x in the corner where the image should be. Is all this an iis issue? Does this have anything to do with Bindings? Permissions? All iis settings in general? Why would changing the site URL cause me to be able to access the wp-login anyway?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t log in to wp-login or wp-admin’ is closed to new replies.