1. Home
  2. Docs
  3. Tutorials
  4. How to keep the dots and/or append .html to the permalinks?

How to keep the dots and/or append .html to the permalinks?

By default WordPress sanitizes the slugs (post names) with sanitize_title() function. The dots, accents and other non-standard character are automatically removed from native slugs, when the post is saved or updated.

Permalink Manager overwrites the native permalink system and allows to bypass this issue.

Adjust sanitize settings in Permalink Manager options panel

It is also possible to keep the dots inside the new permalinks when the post, page, CPT item or term is created. All you need to do is enable “Force custom slugs” in Permalink Manager settings.

When this option is active, Permalink Manager will not use the native slug (where the dots are replaced with hyphens) but will use custom slug inside the new default permalink (the dots will not be removed).

When the new post/term is created, Permalink Manager will automatically use “Default URI” for the permalink.

How to keep the dots in old permalinks

If you would like to use the dot inside the old permalink, you will need to either regenerate custom permalinks or change the custom URIs and add them again manually:

Was this article helpful to you? Yes No

How can we help?

Wait!!! Before you go...

Still not convinced? Use following discount code during Gumroad checkout and get 10% off!

BLOG

If you have any questions or need further information, please feel free to contact me via email: