How to write .html in wordpress url

WordPress anvar

You can write the url by .html extention by simply using the permalink in wordpress admin

Step1. Login to wordpress admin yoursite.com/wp-admin.

Step2. Go to setting section in the admin panel.

Step3. Choose the permalink in the setting menu.

Step4. In Custom Structure Set the .html and category postname.

Step5. Save changes.

/%category%/%postname%.html

how-to-write-html-in-wordpress-url