I've just migrated a Wordpress from live to localhost and can't get to work permalinks.
I'm pretty new on this and I'm using Xampp for MacOS. I want to use URLs like localhost/side/about and when I set those on wp-admin it prompts a 404. I've been digging around but the thing is that when I put the .htaccess inside the root folder of the site it just makes .php files downloadable, so I deleted it (have a copy ofc) and it worked great. Now I just need permalinks to be SEO friendly.
The .htaccess file downloaded from the live site looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php70” package as the default “PHP” programming
language.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
My local site is located on /htdocs/side
Thanks