SiteWide 404 after 5.5 Update

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.

Thanks t-p… I already did that, but will try again to make sure that .htaccess is created while default permalinks is set.

What exactly is it in that Using Permalinks link that I should be interested in?
[update] – Default permalinks, htaccess created – it’s blank.

Changed to custom URL structure cat/postname and attempted to access via another browser (cache cleared), still same 404 error) and no content generated in htaccess… chmod to 666 and attempted again, still blank htaccess.

if that is of interest…

  • This reply was modified 1 day, 1 hour ago by k9disc.

Got it! https://wordpress.org/support/article/using-permalinks/#creating-and-editing-htaccess

# 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
  • This reply was modified 22 hours, 54 minutes ago by k9disc.



Source link