Wordpress Links only allow Plain permalinks

November 14, 2018 489 views
WordPress Ubuntu 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.

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.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!