• Can’t get to any pages from Home Front Page on the latest 6.1 WP on Linux Ubuntu 20.04 apach2 server.

    Maybe this will help to explain//

    The Front side

    I can get to the front page with 192.169.20.83/mysite however some front page images are missing in the Gallery block.

    When I click to go to a page link, for example this is the url

    https://192.168.20.83/mysite/?page_id=71

    but I get the dreaded

    Not Found
    The requested URL was not found on this server.
    Apache/2.4.41 (Ubuntu) Server at 192.168.20.83 Port 80

    I also notice from other PC’s on the LAN I only see the text of the front page none of the theme or images, yet on the PC I work on I do see it all.
    ——————-
    Admin Side

    I get the Admin login and can log in and see the admin page.
    When I click on the left menu I can get to all the admin and page links okay.
    When I click on pages, they all show on the list and I can get to them from ‘Edit’.

    Although when in the page there is no image showing and in place is the message..

    ‘The image has an empty alt attribute and then gives the image file name’

    In the Permalinks admin area I see the link urls as

    https://localhost/mysite/?p=123 etc.

    In admin I see all the images in Media Library but they do not show in pages.

    In Site Health Info Constants I see.

    ABSPATH /var/www/mysite/
    WP_HOME https://localhost/mysite
    WP_SITEURL https://localhost/mysite
    WP_CONTENT_DIR /var/www/mysite/wp-content
    WP_PLUGIN_DIR /var/www/mysite/wp-content/plugins

    I am not sure what else to show, but I need help to get to my pages.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would highly suggest using LocalWP development tools instead what you are using. This tutorial could help.

    If you want to open the site for others, please check this https://localwp.com/help-docs/local-features/live-links/.

    Thread Starter ozstar

    (@ozstar)

    Thank you for your suggestion.

    I already have the basic WP site built and am just now adding content.

    I just now only need to know what files to check so I can fix the 404 links to all my pages from the Home Page.

    I can get to them from the admin side but not from the front side.

    Thread Starter ozstar

    (@ozstar)

    I have just noticed that the links that work are all ‘localhost/blah’ and those with the local IP# ‘192.168.20.83/blah’ all go to the 404.

    Is there a place or list that shows every page, and image and their link address so I can change them all to localhost?

    Thanks for the help

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t get to pages from Home Front page.’ is closed to new replies.