Changing ‘Permalink Settings’ caused ‘404 Not Found’ Donghowa2020-01-27T23:14:35+08:00January 22nd, 2020|Categories: WordPress|Tags: wordpress, 404 not found, Permalink| When you are experiencing a problem with ‘Permalink Settings’ on ‘WordPress’, please try these solutions. Add '/index.php/' simply at Custom Structure on 'Permalink Settings' 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’ Read MoreIf 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 ServerAdmin donghowa@donghowa.net ServerName donghowanet ServerAlias www.donghowa.net DocumentRoot /var/www/html AllowOverride All ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined vi /etc/apache2/apache2.conf Copy to Clipboard Options FollowSymLinks AllowOverride All Require all denied AllowOverride None Require all granted Options Indexes FollowSymLinks AllowOverride All Require all granted #sudo apachectl configtestSyntax OK # a2enmod rewriteModule rewrite already enabled #sudo systemctl restart apache2