Home
Support Forums

First deployment help?

Hi everyone. I’m new to Netlify and trying to expand my knowledge using Git to deploy sites etc. I’ve heard nothing but good things.

My initial site I want to deploy is built on Statamic which is a Laravel CMS (headless) and I’ve set my public folder and index.php as the path. However I end up getting a 404.

I’m wondering if there is something I need to do on the server for Laravel deployment? Has anyone had experience with Statamic / laravel deployment that could help me?

@niteowlcreative Welcome to the Netlify community.

Netlify serves only JAMStack sites, so no server-centric pages such as PHP will be served. You will need to convert your PHP files into HTML somewhere in your build process to have your site load over Netlify.

I know clients that have Statamic sites deployed on Netlify… I am unsure how to make that work then.

Maybe something like this?

1 Like

And then, there’s this:

Well yea, I think SSG is the reason for the error. I don’t think you could access your CP if it’s static sites only with Statamic.

I was hoping it would work on Netlify, but I suppose maybe not.