Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to create RewriteRule

Hi, Even have seen the rule in the INVO exmplae but I still don't understand how to write a new rule I want mySite/job/item/item_number to actually point mySite/job/item?Numid=item_number. so actually I will be able to use $_GET[''item_number];

Please help


Hi ! Are you you want to use a RewriteRule ? In fact in Invo's example the rewrite rule just set the root of you're website. If i understand well your concern you may use the router ;)

There you won't have to use $GET because Phalcon make it already for you. I'll let you discover the router, don't hesitate to come back if you need more help

Thanks , that's exactly what I was looking for , to complete the whole picture of using Route , one should also follow the following: