Hot answers tagged

2

WordPress runs slugs through its sanitize_title_with_dashes() filter function which replaces dots with dashes. Unfortunately the function doesn't give you any control over that or any ability to change what characters are stripped or replaced. What we can do however is remove that filter and add our own version of it with a couple of modifications: ...


1

It is because you're using a reserved term "year". https://codex.wordpress.org/Reserved_Terms



Only top voted, non community-wiki answers of a minimum length are eligible