For this question, I googled and found 2 results. But what I want to do is allow dots in slugs for some pages only. I found results are showing to add a function to function.php file. But it will affect the whole site. I need to change (-) as (.) only custom pages URLs.
And also keep some URLs like
So please help me with this.
What I found so far>>>
Read more here:: How to allow dot(.) in slug for custom pages