There might be several reasons that caused this, most probably because WordPress website usually needs re-save of your permalink structure when you transfer the website.
Luckily, the solution is simple. In admin panel, just go to Settings -> Permalinks and hit save.