Hello,
I'd like to add an index page inside of each folder -
example.com/services
example.com/services/service-1.html
so that when a visitor browses to example.com/services - they receive a web-page in response.
I found some discussions in the nicepage forum, but they're 1 and 3 years old and say it's on the to-do list.
I have the following solutions in case it's not possible, but I haven't tested them:
Cloudflare forwarding rules - so that when a directory is specified, the visitor is forwarded automatically and transparently to a specific page - eg example.com/services - cloudflare would forward to example.com/services/fake-index.html
Export from nicepage to HTML and manually create the index.html page within each folder, making links where necessary.
use htaccess rules to specify the directory index for each folder.
3-b. use server block configuration to set the default file for each folder.use PHP to read the folder / url and redirect the user to the appropriate page.
It would be really cool if folders in nicepage could have an associated index.html or landing page so the URL path made consistent and logical sense!
Thank you for any advice and your consideration!
Hello, I'd like to add an index page inside of each folder - example.com/services example.com/services/service-1.html so that when a visitor browses to example.com/services - they receive a web-page in response. I found some discussions in the nicepage forum, but they're 1 and 3 years old and say it's on the to-do list. I have the following solutions in case it's not possible, but I haven't tested them: 1. Cloudflare forwarding rules - so that when a directory is specified, the visitor is forwarded automatically and transparently to a specific page - eg example.com/services - cloudflare would forward to example.com/services/fake-index.html 2. Export from nicepage to HTML and manually create the index.html page within each folder, making links where necessary. 3. use htaccess rules to specify the directory index for each folder. 3-b. use server block configuration to set the default file for each folder. 4. use PHP to read the folder / url and redirect the user to the appropriate page. It would be really cool if folders in nicepage could have an associated index.html or landing page so the URL path made consistent and logical sense! Thank you for any advice and your consideration!