Support Forums

How do I deploy files other than index.html?

I have read that netlify attempts to only deploy the index.html file. I am building a multi page application and I have several other pages such as contact.html, about.html etc and I want to be able to navigate to these pages. How do I deploy these other pages? I have searched for other posts and consulted the documentation but it is not clear. Thanks.

Hi @jwmc ,

Yes you can have files other than index.html. The main page of your site is always an index.html as is that of any sub-directory (e.g. /portfolio/).

I have put together a basic bare-bones repo @coelmay/netlify-bare which I have deployed at https://pensive-lovelace-dd36b7.netlify.app

Hope this helps


Awesome, thank you :slight_smile:

1 Like