Index pages on folders

I want to create a site where folders are the page root
Ex:

https://mysite.com (index/root for homepage)
https://mysite.com/products/ (index/root for products page)
https://mysite.com/products/product1
https://mysite.com/products/product2
https://mysite.com/products/product3
https://mysite.com/services/ (index/root for services landing page)

I think you get the gist here right? I am reading that this is not possible. Please advise.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

1 Like

No responses? Why? None of my posts have received any support

1 Like

Hi Jennifer

I had the same problem. I think I found a fix that works but need to test it more. I basically created a page in the root the same name as my folder and this works.

So I have mysite.com/products (folder)

and I have

mysite.com/products (page)

Hope this helps.

Thanks

Jonathan

Hello Jonathan Lyon, Good answer but it doesn’t solve the problem. In fact your reply gave me a clue to fully resolve the question. Please find my answer below.

[SOLVED] Here is the step by step solution to this question.

  1. Create a folder with your desired name. example.com/folder1

  2. Create a page with the desired name under the previous folder. example.com/folder1/landing

  3. Now open the Page Settings and assign the parent folder as folder1.

image

  1. Now the critical step is, Go to your Webflow Dashboard and select the project settings. Under hosting, you have to add a new 301 redirection from

example.com/folder1example.com/folder1/landing

  1. Dont forget to publish the project and verify.

  2. If that works for you, Please leave a comment and if it doesn’t work still leave a comment. I will reply back to you soon.

1 Like

Yes it works! Thank you :clap: