- Word Press Permalink Error
This problem surfaced when I upgraded my blogs to 2.8.4, but only on those blogs that were not in the root folder.
- Default Settings Worked
The Permalink settings worked fine on default, but broke when set to /%category%/%postname%/. Adding index.php/%category%/%postname%/ resolved the problem, but would have wrecked all of my my historical search links.
- Edit the .htaccess File
This old .htaccess file worked perfectly previously:
# BEGIN WordPress
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]# END WordPress
-The solution was to add the blog folder name in to the ReWriteBase and ReWriteRule lines in the .htaccess file
# BEGIN WordPress
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /weblog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /weblog/ index.php [L]# END WordPress
- Automatic HTACCESS Generation.
WordPress is designed to (re-)generate the htaccess file whenever permalinks are activated in your WP dashboard. Unfortunately this does not happen on some (my) servers, so I have to manually edit the htaccess file to get rid of the Word Press permalink 404 error