We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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.