Clicking the website triggers a download

When importing a website this can be caused by the .htaccess file that is specific to a webhost. To resolve this:

1) Go to where you created your new site(Site Root) and look for the .htaccess file(it maybe a hidden file) and delete it. 

2) Then go to your browser and go to the dashboard of this created site and to Settings > Permlainks and resave the permalinks this will recreate the appropriate htaccess file.