Wordpress Links only allow Plain permalinks

Posted November 14, 2018 808 views
WordPressUbuntu 16.04

When I try to change my permalink settings from Plain to any of the other options, all pages but the homepage then say that the page is not found. I have already tried deleting the .htaccess file so that it re-generates.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


What you would need to check is the following.

  • Make sure that Apache mod_rewrite is enabled, you can check that with this command:
apachectl -M | grep -i rewrite
  • If you don’t see the module, you can enable it with this command:
sudo a2enmod rewrite

Restart apache after running this command

  • Make sure that AllowOverride is enabled for your htaccess file. In your Apache Vhost for the site in question (should be something like this: sudo nano /etc/apache2/sites-available/mysite.conf) make sure that you have the following somewjere after the ServerName line:
    <Directory /var/www/mysite>
        AllowOverride All

Hope that this helps!

  • Thank you for your response, I solved this a while ago and forgot to post the answer which was indeed making sure that everything needed wasn’t set to read-only.