As I’m quite new to WordPress, I wasn’t very clear on what happens if you change the permalink style. I started out using day+month+year+topic_title, but wondered if changing to just topic_title would break anything.
So, here’s a link to my first blog post:
See: WordPress fix-up : rest API gives 404
Now, if I publish this, then change the permalink style, I should be able to see how it’s actually handled.
So, after changing the permalink style to topic_title, I get a 404 of I try and click through on the above link. Before I changed the style, it worked correctly.
I’m not sure whether the link is updated if I update this blog post (after adding my results text), but that’s what I will try next.
So, updating the post (e.g. clicking on the Update button in the WordPress editor) didn’t update the link. I’ve now deleted the link, and linked to the topic_title only style destination topic, hopefully that should work.
So, it looks like internal links to permalinks aren’t automatically updated, I’m guessing there’s a bulk updater plugin/feature available, or I have got the wrong end of the stick.
Digging a little deeper via Google, I came across this interesting post, which appears to cover the matter in some depth: https://www.wpexplorer.com/change-permalinks-wordpress/
After a bit of thought, and on the basis that I can change the style later, I’m going for a full data + topic_title naming convention for permalinks.
Leave a Reply