Sounds like mod_rewrite is not installed on the server. OR
you've forgotten to upload the hidden .htaccess file along with the SFTP upload.
updated by @michael: 09/16/23 01:42:32PM