Statically generated WordPress include index.html in each URL

[ad_1]

I have statically generated WordPress website (with plugin called Staatic). I used option Offline Usage which recommends to make static content to be run on local machine and static web hosting. But after I visit web root index.html and other index.html files (which are under directories with names of web pages), everytime it includes index.html at the end of each URL.

with index.html —> http://domain.com/index.html , http://domain.com/page-name-here/index.html

What I want is to remove /index.html at the each file URL. So it looks;

http://domain.com/page-name-here/index.html

WordPress is running on NGINX. WordPress, plugins are updated.

Any help to solve this issue would be appreciated.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer