WordPress site displaying 404 for any page apart from index

  1. Your server does not have mod_rewrite enabled
  2. Or you do not have AllowOverride set correctly to allow your
    .htaccess file to operate correctly. You will need AllowOverride set to at least FileInfo.

I’d bet on the latter, as mod_rewrite is pretty ubiquitous.

Based on your edit, the issue is that Nginx doesn’t use .htaccess files. My experience with Nginx is limited but rewrite rules are written into server configuration files, I believe. The Codex has a page on the topic.

Leave a Comment