404 error on Permalinks
-
I am running WordPress 4.4.1 on an Apache 2.4.7 server on a Digital Ocean droplet running Ubuntu 14.04. I set the server up myself, and I am guessing my problem is there.
1. I set up permalinks using WordPress, using the postname option.
2. I manually added the following to www/html/.htaccess (WordPress did not add this automatically):
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
3. I checked that mod_rewrite was enabled on the server.
4. I added the following to my site conf file:
<Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /home/[user]/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
5. I cleared my browser cache and disabled all plugins.
I realize this question has been asked many times and the WordPress Codex has a page of instructions that I have followed, but nothing I have found works.
Any ideas on what I am missing?
- The topic ‘404 error on Permalinks’ is closed to new replies.