Problem With Pretty Permalinks.
Following on from the recent WordPress update to 2.7, I’ve had the weird effect of
- first a single post losing the pretty permalinks,
- then two,
- then all of them,
- then I had a big twiddle, (this involved a lot of forum work. This question from Storax I thought nearly had it working for me at this point as you’ll see from my posting!)
- and now I’m back to the original weird post that doesn’t work properly.
The post is one about the self-induced motor industry crisis of poor planning and foresight combined with consumer greed in a world of limited resources – an ordinary tale. (there may be other posts with this effect, but this is the only one I’ve found!!!). Pretty permalinks are set to…
/%post_id%/%postname%/
…which has worked for months and months without a problem.
This is what the post should be like but it doesn’t work and returns a 404:
And this is a version that works!
Weirdly, if you enter the default-should-work-in-all-cases format:
…it fails and redirects to the first duff version.
Aha! I can hear everyone cry. It’s yer redirects, it’s yer permalinks in htaccess, it’s a plugin…. Okay. Maybe it is. But it doesn’t explain this behaviour in a similarly numbered, slightly later posting:
This is what it should be like:
- https://strangelyperfect.tv/605/thought-this-might-make-you-laugh/ – and it works!!!
And this version also works!
Weirdly, if you enter the default-should-work-in-all-cases format:
…this works also!!!
But that must be when you implemented a permalinks change? I hear you cry. Possibly, it was about then. This is the results for the next earlier posting:
- https://strangelyperfect.tv/593/hsbc-cries-wolf-when-really-theres-nothing-wrong/ – works!
- https://strangelyperfect.tv/593/ – works by redirecting to the first version!
- https://strangelyperfect.tv/?p=593 – works by redirecting to the first one again!
So there we have it! Exactly the same each side of the problem posting. I’ve renamed the posting (to give it less chars as suggested in pne forum posting), remade it and re-dated it as a replacement (i.e. brand new post with same text). I’ve changed the categories (following some forum prompts). I’ve removed plugins.
And now I’m knackered from playing with all the permutations and eating too many Xmas sweeties….
One day I’ll crack this and let you know. Until then, triple zeds folks.
Leave a Reply to Strangely Cancel reply
You must be logged in to post a comment.