• I installed WordPress on an Ubuntu 20 (home) machine a number of months ago. I think I was able to signon to the WordPress and then did nothing with it. I now want to load some content. However I cannot login into the WordPress admin page. I also started experimenting with h5p. I can’t find any notes on how I installed these. I have tried the following:

    I can connect to the WordPress by entering the entering the machine’s IP address. This displays a directory list

    crl_h5p – select this displays a “Hello World” web page

    html – select this displays the Apache2 default Page

    wordpress – select this displays what looks like a WordPress web page

    These folders are in directory: /var/www

    The folder /var/www/wordpress contains file wp-login.php and folder wp-admin

    Now in browser if I enter either

    <ip address>/wp-admin

    or

    <ip address>/wp-login.php

    I get following error message in the browser window:

    Not Found

    The requested URL was not found on this server.

    Can anyone let me know how I login to this WordPress environment so I can add posts or upload a copy of my blog from www.ads-software.com?

Viewing 7 replies - 1 through 7 (of 7 total)
  • If your WordPress site is at : <ip address>/wordpress/

    … then the admin login should be at <ip address>/wordpress/wp-login.php.

    The dashboard will be at <ip address>/wordpress/wp-admin/ and accessing this path directly (without having authenticated first) will redirect you to the above login URL.

    Thread Starter cliverlong

    (@cliverlong)

    I’m quite happy to wipe all the data on this wordpress and recreate the database if easier to fix.

    Have you tried the login URL I provided?

    Thread Starter cliverlong

    (@cliverlong)

    Some pregress, thanks.

    If I enter in the browser address input: https://192.168.1.246/wordpress/wp-login.php

    This displays a very simpleWordpress login page

    but whatever userid and password I try, the page gets redirected :

    https://192.168.1.128/wordpress/wp-login.php

    witht eh error message :

    This site can’t be reached

    192.168.1.128?took too long to respond.

    In the browser

    192.168.1.128 took too long to respond.

    1) When you install WordPress, the address used for the installation is stored in the database as the WordPress site address.

    2) It seems at the time you did the installation, your local computer IP address from your router was 192.168.1.128, so this address was stored in the database as part of the WordPress site address.

    3) And it seems now your computer has a new IP address, 192.168.1.246. You can access some parts of the site with this new address, but the design/layout is likely broken… and other parts like the login won’t work as you’ve seen.

    You have a couple of options to resolve this:

    1) You could configure your computer or router so that your computer will have the old IP address 192.168.1.128.

    2) You could configure your WordPress site to use the new IP address. Here’s the official guide on changing a WordPress site address.

    3) Since (I’m supposing) this is a fresh site, you may as well nuke everything and make a new installation.

    Whatever you do, I’ll highly recommend you use localhost to run the installation as the new WordPress address (ie https://localhost/wordpress/) OR configure your computer to use a STATIC IP address. That’s because if you simply use your current dynamic IP address, you’ll have to deal with this problem again when your computer gets a new IP address from your router.

    Thread Starter cliverlong

    (@cliverlong)

    All those suggestions seem sensible to me. I will start off making the static address if the machine 192.168.1.128 and try to login. Then I will create a new database as it will be useful to go through that and make the site “localhost”, switching the IP address back to DHCP.

    thanks for the very clear suggestions.

    Thread Starter cliverlong

    (@cliverlong)

    George. I set the IP address statically to 192.168.1.128 (some amount of fiddling) and I can access the couple of pages I created and – more importantly – the WordPress/wp-login.php page .

    i can now continue with experimenting uploading a copy of my public wordpress site to this new local host.

    thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot login to personal WordPress installed on home machine’ is closed to new replies.