Fixed Permalinks

So I’ve been trying fruitlessly to get permalinks working on this site for… longer than I’m willing to admit. I’ve been banging my head against the wall, doing full site restores, rewriting the .htaccess file, changing permissions, everything I could think of.

I finally got it working today and felt incredibly stupid. Everything was configured correctly, except for one little issue. AllowOverrides in my Apache config was disabled for /var/www, so none of my .htaccess files were even being used (unless specified within the virtual host file). I changed the line to enable overrides and permalinks immediately started working.

Something I really need to do more is to read the official documentation BEFORE I start troubleshooting. https://wordpress.org/support/article/using-permalinks/#using-pretty-permalinks had all the information I needed.

Leave a Reply

Your email address will not be published. Required fields are marked *