by Ken Hawkins.
T'would be nice if I could delete this
For some reason, the first time I edited /var/www/config.php to set the wwwroot - the change did not stick, perhaps too fast in typing the arcane key sequence for saving files in archaic text editors.....
Ensuring that the change DID stick, cleared up the problem - odd though that after running the replace.php all my links would show the old FQDN, rather than the new one. That was a red herring for me
Sorry to bother you folks
cheers
Ken