1. Home
  2. Docs
  3. Tutorials
  4. How to append .html extension to WordPress permalinks?

How to append .html extension to WordPress permalinks?

If you would like to append the .html, .php, .htm, .aspx extension, you will need to add them to the permastructure in “Permastructures” section of Permalink Manager.

In following example, the .html is added to WooCommerce permalinks, but you can add another extension to all or specific post types and taxonomies including: posts, pages, categories, tags, custom post types and taxonomies.

The new settings will be automatically applied to new permalinks, but to append the extension to the old ones, you will need to regenerate them. Here you can find more information on how to regenerate the custom permalinks.

The Permalink Manager will automatically assign the default URI as a custom permalink for new posts and terms.
A list of old custom permalinks regenerated with Permalink Manager.
Was this article helpful to you? Yes No

How can we help?