This is getting me confused.
How do I customize /state/state_name
to be replaced by /state/state_name.php
?
Initially state_name
is a variable and I don't want each of the state to be an action in my StateController
. Instead, I would like to take that variable and process it in a specific action loadAction()
to deal with the contents.
This is because the url /state/state_name.php
is already SEO optimized and I want it to stay in that form using Zend Framework.
Thanks for any help. Any suggestions would be gladly welcomed!