Support » Fixing WordPress » Permalinks 404 after auto upgrade

  • I’ve got several WP sites running on a Media Temple DV server. I’ve had an issue with many of them over the past month or two – the Permalinks stop working and generate a 404 error when navigating to any interior page. Going to Setting/Permalinks and clicking Save Changes (without changing any of the settings) fixes the issue.

    The .htaccess file has this:

    # 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

    We do run iThemes Security plugin on all these sites, which also writes rules to the .htaccess file, wondering if that has anything to do with it.

    It seems like the latest round of issues occurred after the incremental WP auto-update that occurred over the past week or so.

    Once fixed, it’s not reproducible. Although it has happened more than once on an individual site.

    Thoughts?

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Try resetting your custom permalinks back to the default setting and renaming your WordPress .htaccess file.

    If that works, then try reading Using_Permalinks before setting a custom permalink structure again.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks 404 after auto upgrade’ is closed to new replies.