AWS Amazon Linux: pretty permalinks not working 404 error
-
Perhaps this is not the right place to put this question, so sorry for that. I posted the question on AWS forum as well as on Stack Overflow. But unfortunately I did not get any reply!
I have put my WordPress installation inside /var/www/html/cooking folder under a Amazon Linux instance. Homepage of the site is http://54.165.84.82 , which runs ok, but http://54.165.84.82/cooking/hello-world/ gives me 404.
I have modified
/etc/httpd/conf/httpd.conf. It now looks like:ServerRoot "/etc/httpd/" Listen 80 Include conf.modules.d/*.conf User apache Group apache ServerAdmin root@localhost <Directory> Options FollowSymLinks AllowOverride All Require all granted </Directory> DocumentRoot "/var/www/html" <Directory "/var/www"> AllowOverride All Require all granted </Directory> <Directory "/var/www/html/cooking"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>.htaccessfile inside /var/www/html/cooking:# 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 WordPressPlease help!
- This topic was modified 8 years, 9 months ago by .
- This topic was modified 8 years, 9 months ago by . Reason: Moved to Fixing WordPress. Please do not use Developing with WordPress for support topics like this
The page I need help with: [log in to see the link]
The topic ‘AWS Amazon Linux: pretty permalinks not working 404 error’ is closed to new replies.