That’s probably due to the changes we’re making in order to improve permalinks. And really that was never supported and was always kind of a hack
The trick is that you’re using a Unix-internal directory structure exploited: ./ means “self” or “own directory”. So you’re making domain.com/./foo and that ‘redirects’ to domain.com/foo/ which doesn’t exist.
Basically WP is now giving you the right error.
You should use a plugin for this if you must.
Category base is set to “.”(dot) so that there is no category base (screenshot)
I don’t think we support that. In your case, WordPress thinks that cours
is a category and s1
is a page.
You may have more luck with a plugin like Remove Category URL.
FWIW it’s worked for 7 years, so I can see why it might be seen as a bug, but it’s more like an ‘Oops, that shouldn’t work’ because it’s bad HTML and it’s exploiting a flaw in WP that treated it as a real URL when it wasn’t.
Yeah, I’m familiar with the trick, I just don’t think it was ever officially supported.
I’ve just tested this particular case (the dot trick + nested directories) on 2.3.3, 2.7.1, 3.2.1, 3.4.2, and it does not work anywhere.
Thread Starter
Akkes
(@akkes)
Thank for your quick answers and help!