Add .html Extension to Pages Plugin
A simple and easy way to add .html extension to WordPress pages.
This plugin adds .html extension to pages in WordPress. Adding .html extension on posts is easy as it can be updated from permalinks, but by default it is not possible on pages.
Useful in following cases:
- You want to convert your static site to WordPress but don’t want to change .html extension in URLs.
- Want to append .html extension to end of all page in WordPress.
- You already added .html to post URLs and want to keep similar URL structure.
Installation
From your WordPress dashboard
- Visit ‘Plugins > Add New’.
- Search for ‘Add .html Extension to Pages’.
- Activate ‘Add .html Extension to Pages’ from your Plugins page.
From WordPress.org
- Download ‘Add .html Extension to Pages’.
- Upload the ‘add-html-extension-to-pages’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
- Activate Add .html Extension to Pages’ from your Plugins page.
Screenshots
.html extension added to page URL.
FAQ
How to add .html extension to WordPress page URLs? - Log in to your WordPress admin dashboard
- Navigate to Plugins > Add New
- Search for ‘Add .html Extension to Pages’ plugin
- Install the plugin using ‘Install now’
- Activate the plugin
How to add .html extension to WordPress post URLs (Permalinks)? - Log in to your WordPress admin dashboard
- Navigate to Settings > Permalinks
- Select ‘Custom Structure’ under ‘Common Settings’
- Add .html extension to your desired URL, for ex. /%year%/%monthnum%/%postname%.html
- Save the settings
Do you offer support? You can contact me using this Contact Form
Changelog
1.0.0
Initial release
1.0.1
Updated readme.txt
1.0.2
Updated readme.txt
1.0.3
Updated readme.txt