Migration issue with page links

I am a newbie trying to migrate a WordPress site to another platform with little success.

The original site has a simple custom theme, about a dozen pages and is basically read-only with no plugins.
It is running WordPress 4.2.29, PHP 5.4.45-0+deb7u9, Apache/2.2.22(Debian) and MySQL 5.5.55-0+deb7u1.

The new site (on Linux Mint 20.1) is running WordPress 5.6.1, PHP 7.4.3, nginx/1.18.0, MySQL 10.3.25-MariaDB-0ubuntu0.20.04.1.

I have backed up the old site with UpdraftPlus and restored to the new site.
Using Search-Replace-DB-master I have successfully replaced all instances of the original root URL with my new one.
(My new database has a different name, user and password as these are not available for the old site).

Browsing to my new site I was able to log in (as an administrator) via a home page link to the login screen.
Everything appears normal in the dashboard.

However, although the home page views ok, all other links from it are returning a “404 Not Found” (note: the re-homed urls are the same as for the original site).

Any helpful hints would be gratefully received.

Source link