OK. I have been struggling with Permalink issues since the start of the year. This is the first of the many, many posts I’ve read that actually helped. It led me to stumble on what I think was the reason my permalinks weren’t working, and hopefully this might help other people with the same problem.
First of all I updated my permalink settings to /archives/%year%/%monthnum%/%day%/%postname%/ and my category settings to /archives/category
I updated .htaccess via the WordPress template interface. All my archive and category links then immediately broke. But something niggled. I ftp-ed into my site and looked at the .htaccess files, both in the root where I keep the index.php and in my /wordpress directory. Neither of them had been updated. Weird. I went back to the template interface, scrolled down to ‘Common Files’ and moused over where it says ‘.htaccess (for rewrite rules)’ to see where it linked to (so I could try and find out exactly what it was updating).
The link was to:
https://www.miaowthecat.com/wordpress/wp-admin/templates.php?file=.htaccess
I am not a PHP or WordPress guru by any distant stretch of the imagination, so this didn’t make much sense to me. What I did instead was make a new .htaccess file with my new settings (thank you Cam) and uploaded them to my root directory and my wordpress directory. I could not BELIEVE it. My permalinks all worked. Shock and awe. Naturally I couldn’t leave it alone. I tried changing my permalink settings to:
/wordpress/archives/%year%/%monthnum%/%day%/%postname%/ and
/wordpress/archives/category
I uploaded it again via FTP and everything broke. OK. So it doesn’t like the ‘wordpress’ directory thing. I decided I could definitely live with that, and fixed back up to how it was working before. I am happy ??