Hot answers tagged


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: ...


It is because you're using a reserved term "year".

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