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.
Periods in Title
About
Periods in Titles allows you to put periods in your post, pages and category URL slugs. e.g. example.com/2019/10/this.is.a.post.slug/
Download
Download: Periods-in-Title.php
Usage
Download by clicking the link. Upload to your /wp-content/plugins/
directory and activate the plugin in your WordPress admin.
Leave a Reply