I recently migrated a client site from an IIS environment to a LAMP stack. The back end of the site works fine. I can log in and make any changes I like. The front end, however only displays 404 errors, even on the homepage.

I tried resetting the Permalinks.

I'm not running any redirect or caching plugins.

My HTACCESS file is both standard and writeable:

# 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]

# END WordPress

What am I missing here?



  • Is it a WP 404 or an apache 404? Can you load static files? How about /index.php? Is mod_rewrite enabled? What does the error log contain? – janh Dec 2 '17 at 22:15
  • It's a WP 404. I don't think I'd be able to log into the dashboard if it was an Apache error. – Ty Morton Dec 3 '17 at 14:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.