Symfony: How to hide the Controller Name in URL

on Monday, March 16, 2009

To hide the controller name from the URL, when the project is ready for production. Follow the below steps:

  • set the no_script_name: to on under prod in settings.yml file from your application directory.

  • after that clear the cache.

Now your projects application is ready and your controller name is also hide from the URL.

2 comments:

Unknown said...

how to get object_input_date_tag as editable with date format dd/mm/yy

Anonymous said...

you are lier :P

Post a Comment