After updating to 4.8 permalinks will not work (all 404)

I’ve ran into that trouble before with some of my sites when I transferred them to another server.

Here’s what I did. edit your apache2.conf at /etc/apache2/ folder.

Run the following command:

nano /etc/apache2/apache2.conf

Scroll down and look for this section with a comment:

# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.

Make sure that this is the one in there:

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride all
  Require all granted
</Directory>

For short, grant it. For your permalinks not to fail.

-Dave