I updated the permalink structure to /%postname%/ and this updated my .htaccess with:
# BEGIN WordPress
RewriteEngine On
Rewri
If you are setting up a new or cloned site on ubuntu, remember to symlink the site configuration file e.g. /etc/apache2/sites-available/your-file.conf
to the /etc/apache2/sites-enabled
folder so apache loads it.
Just run: sudo a2ensite your-file.conf
, then sudo service apache2 reload
.
sudo a2dissite your-file.conf
to remove symlink i.e. disable config.