Imported Site Returns 500 Error


I’m new to Local and so far it seems pretty great. I’d like to import some live sites I have, so I looked around the forums and found something suggesting that I use the Duplicator plugin to create the archive zip, and then import that into Local. I did that, but it didn’t work. My steps were literally just to install the Duplicator plugin, create a “package,” download the archive zip, and import it with the “Import Site” option in Local. But when I try to view the site, I get this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Did I do something wrong?

Okay so evidently importing into Local using a custom setup corrupts the .htaccess file, which I learned from this post.

I copied the default

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

back in and now it works.