@ Steve
On the non-working site go to the Settings : General admin page. What are the settings for:
WordPress Address (URL) Site Address (URL)