Black Friday Sale! Save up to 50% off!

Index inside each folder

oshout
2 Posts
oshout posted this 05 June 2024
Ask a Question

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!

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!
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 06 June 2024

Hi Oliver,

We do not have such option to select the default age within a folder and I hope that your solution with the redirect settings will work for you.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Oliver, We do not have such option to select the default age within a folder and I hope that your solution with the redirect settings will work for you. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments