We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

tutorial works only in local

Hi, the phalcon tutorial ( from github ) works perfectly in local, but not on internet

on the internet, when i go to https://mywebsite.com/tutorial/public/ i can see the hello with the " signup here " link, but when i click i m redirected to https://mywebsite.com/tutorial/signup/ with a 404 error.

everything works perfectly when i do it on localhost. i dont know where is the problem. thank you for your help



16.4k
Accepted
answer

You have to setup the virtual host to point to public , so you access the site With this url https://mywebsite.com/tutorial



1.1k

thank you, it works