I am using wordpress and when I switch the permalinks to "post name", it doesn't load the page rather showing 404 not found. The requested URL xxx was not found on this server. It's on Amazon AWS EC2
I already tried changing .htaccess and I confirmed rewrite_mode is enabled. Even I changed the AllowOverride to All.
Here is the .htaccess content,
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Any idea, what could be the issue?