When you are experiencing a problem with ‘Permalink Settings’ on ‘WordPress’, please try these solutions.
There could be a problem in ‘.htacess’, ‘AllowOverride’, ‘rewrite module’, ‘permissions’ or others.
IF YOU ARE TOO TIRED TO FIND THE CAUSE, JUST DO BELOW
You can just add ‘index.php‘ then the web page will be shown as ‘http://YOURDOMAIN/index.php/YOURPAGE’
If you don't like 'index.php', Change 'Virtual Hosts' and 'apache2.conf' for 'AllowOverride All'
sudo vi /etc/apache2/sites-enabled/000-default.conf
Copy to Clipboard
vi /etc/apache2/apache2.conf
Copy to Clipboard
#sudo apachectl configtest
Syntax OK
# a2enmod rewrite
Module rewrite already enabled
#sudo systemctl restart apache2