I know I’ve seen this done before but I can’t find the information anywhere. I need to be able to route with .html extensions in the Zend Framework.
I.E. /controller/action.html should route to the appropriate controller / action.
We have an idea to throw away the .html extension with our .htaccess file but I think changing the route config would be the better solution.
Any advice is welcome.
Advertisement
Answer
A quick search on google yielded the following tutorials:
Extending Zend Framework Route and Router for custom routing
Routing and complex URLs in Zend Framework