Some reasons why the error 404 not found appears when the permalink are changed

  1. Connect via ssh or FTP to your Raspberry
  2. Check the file /etc/apache/apache2.conf
  3. Modify « AllowOverride » changing « None » with « All »

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

  1. Restart apache : sudo service apache2 restart