How to replace permalinks

It sounds like you have not properly updated the “WordPress Address” and “Site Address” at wp-admin -> Settings -> General, or you have defined WP_SITEURL and WP_HOME in wp-config.php and did not adjust the value when the site was moved.

I can’t comment on whether the .htaccess file is correct, though I can say that it would be correct for certain sub-directory installs.