Error 500 Importing site into Local by Flywheel

I was exicted to use the site importing feature in Local by Flywheel (localhost development software for WordPress. It should be as creating a zip of the site and make sure the .sql file in the root directory, of that zip.
Just drag and drop the zip into Local’s window and watch it work! Local installed my WordPress site and told me it was ready to go. Oh no! Error 500 when accessing the site using Local by Flywheel!
Don’t worry, it’s and easy fix. Turns out local can corrupt your .htaccess file. All you need to do is replace the .htaccess with a default WordPress one.
Here is the defaut htaccess for WordPress.
[cc lang=”bash”]
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress[/cc]
Now try loading up your imported WordPress site again ?
Happy blogging!