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

Dispatcher forward and URL

It exists a way to rewrite the URL when forwarding, or I've to use redirect? 'Cause I can't found anything.



98.9k
Accepted
answer

No, a forward can't change the URL because it does not send any HTTP redirection headers as a 'redirect' does.