开发者

url suffix in Zend Framework

开发者 https://www.devze.com 2023-02-20 23:39 出处:网络
I\'m trying to add a .html suffix to my urls in zend. I was wondering the best way to do this.I\'d like all routing/url generation to automatically handle this.

I'm trying to add a .html suffix to my urls in zend. I was wondering the best way to do this. I'd like all routing/url generation to automatically handle this.

For exampl开发者_如何学Pythone

Default:

module/controller/action.html

Example Route:

search/:query
module=default
controller=articles
action=search


Tried the answers here?: Zend Framework Routing: .html extension

0

精彩评论

暂无评论...
验证码 换一张
取 消