We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

form helper adding public to action uri

Hi everyone,

I am new to phalcon and just tried to set up a form. The form works but when I use php \Phalcon\Tag::Form() It seems to affix 'public' to it. It works but does not give me as pretty of a url. as I have .htaccess enabled so I could do with out public affixed to it. Any ideas on what's causing it to be like that?

Here's the source

<?php echo Tag::form("beta/signUp");?>
        <label for="name">Name</label>
        <?php echo Tag::textField("name") ?>

        <label for="email">Email</label>
        <?php echo Tag::emailField("email") ?>

        <input type="submit" value="Sign me Up!" class="btn btn-large" />


You need to change baseUri to "/" in app/config/config.php

Yup! I figured it just after I posted this. Thanks for the help!