I am trying to deploy a simple portfolio website built with HTML, SCSS and JS on Netlify but getting a page not found error after deployment. I have 3 folders,
- files/ where css, images, and js files are.
- pages/ where index.html, about.html etc are.
- scss/ where main.scss is.
Now, when I deploy a website and visit a link, I get page not found error. But when I add /pages to the link, my site works. I tried putting /pages in the base directory but then I only see the html page without any css. I also tried putting everything in files/ folder, but the problem is still the same.
Can someone please help me resolve this issue? I shall be thankful to you.
CodePudding user response:
Have you tried checking their build configuration to check if your site's configuration is correct? The documentation on that matter can be found here.
CodePudding user response:
Are you uploading main.scss or style.css. As you have to link style.css