• Resolved Ray

    (@rwanwork)


    Dear all,

    I’m trying to migrate a web site from a local, development installation (i.e., not publicly viewable behind a firewall) to one that is publicly viewable. (Let’s say from site A to B1.) I’m using Akeeba Backup to do the migration and I’ve done used it many times before. We can assume I’m using it correctly as there were no error messages during the restoration process.

    The new site’s front page displays fine. But every single link from the menu says “The requested URL was not found on this server”. I do have access to the /wp-admin/ link and can log in as system administrator.

    The old site is still up and I’m doing a side-by-side comparison of the:

    * server configuration (I have ssh access to the system)
    * .htaccess
    * Settings | Permalinks in /wp-admin/

    all seem to check out.

    The above site is actually on a computer with a second WordPress site (let’s call it site B2, which is unrelated to site A). Both B1 and B2 are hosted by Apache2, which in turn, sit behind a Nginx reverse proxy using these instructions. The second site is much simpler, but the subpages display fine. So, I think this rules out any system-level PHP settings, etc.

    One difference between sites A and B1 is that I’m now using https instead of just http. But, I don’t think that’s the problem.

    Anyway, I’ve been stuck for some time. At first, I thought it was my backup that was corrupt, but I’m able to restore that on to another computer with no problems. I can’t tell if it’s a WordPress configuration issue or something with the server. Any suggestions on how I should investigate this would be appreciated!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @rwanwork,

    Could you go to your WordPress Permalink Settings under your admin area > Permalinks and simply press Save Changes so that WordPress regenerates your website’s permalinks, see if that fixes the issue.

    Thanks!

    Thread Starter Ray

    (@rwanwork)

    Hi @praveenrai,

    Thank you for your reply! Unfortunately, that doesn’t help — there isn’t any change. I don’t get any error messages within the interface after I’ve changed it — are there any log files that would indicate something hasn’t been done correctly?

    Does it matter what it is set as? It is currently set at “Month and name”. I’ve tried the other values and nothing has changed as well.

    By the way, I’m using WordPress version 6.1.1 . And I just tried disabling all plugins and it still didn’t work. I also switched to another theme (i.e., the older “Twenty Twenty” theme) and that didn’t help either.

    Ray

    Thread Starter Ray

    (@rwanwork)

    Dear all,

    So, I have solved my problem! However, why I was able to solve my problem is unknown…

    It turns out that the mod_rewrite module of Apache2 was not enabled on the new server.

    However, if that was the case, then both web sites B1 and B2 should have failed (since both are on the same server and both require mod_rewrite). Why B2 did not require it but B1 did, even though both had permalinks turned on is unknown to me and why I was stuck looking at the WordPress settings of B1, instead of digging through the server configuration.

    At least it works now; sorry for the trouble!

    Ray

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Every page except the main page “not found”’ is closed to new replies.