So, I have a pretty common problem - I recently upgraded to Ubuntu Trusty Tahr from Precise, and I had to upgrade apache as a result. Now, my wordpress site is accessible, but I am unable to access any pages within my wordpress site.
So, for example, www.asjweddingsandevents.com works fine, but www.asjweddingsandevents.com/about gives a 404 ("about" is a page in wordpress). I've tried resetting the permalinks from "page name" to "plain" - when in the "plain" form, the pages are accessible via the page_id=
-style link (e.g. http://www.asjweddingsandevents.com/?page_id=10), but when I set them back to "page name", they are inaccessible again.
I've double-checked that the apache rewrite mod is enabled (it's being used for other sites on the same server), and I've also double-checked the permissions of the .htaccess
file, which are 666. The .htaccess
file has the following contents:
# 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
I'm not super fluent in wordpress configuration, and even worse, I'm not really an apache ninja, so some help on what I'm doing wrong (or, given this is a general error, how I can troubleshoot what's going wrong) would be much appreciated.
<IfModule>
and</IfModule>
, so the rewrite module is loaded. Additionally, if I try to navigate to asjweddingsandevents.com/?page_id=10 when "page name" permalinks are enabled, it redirects me to www.asjweddingsandevents.com/about, so I think it might be a wordpress problem and not an apache problem..htaccess
file and re-saving the permalink settings (in order to get it to regenerate it), to no avail.