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

Stuck with the phalcon website code

Hello, I tried to install the official website of phalconPHP ( https://github.com/phalcon/website ) on my localhost, and I can see the homepage on localhost/phalcon/en/. However, if I try to click on the logo or change the language, I am redirected to localhost/LANG instead of localhost/phalcon/LANG. An idea to fix that ? I guess I could fix it manually in the view files but I feel there's a cleaner way to do it. It might be a problem in the config. I put as baseUri '/phalcon/', is it correct ? Thanks !



16.3k

if I try to click on the logo or change the language, I am redirected to localhost/LANG

try set the 'baseUri' to your directory [phalcon or phalcon/public]

Hi, it doesn't works :/ I fixed it this way : https://github.com/phalcon/website/pull/200 Not sure if it's ok lol