EC2 WordPress Permalink Settings

If you’re just setup a new wordpress on amazon EC2 instance, after you had tried update the permalink settings from default to post name. 404 page not found display.


  1. SSH login to your ec2 instance
  2. Edit the config file, sudo nano /etc/httpd/conf/httpd.conf
  3. Under Directory “/var/www/html” section, change AllowOverride None to AllowOverride All
  4. Restart HTTP server, sudo service httpd restart