I'm looking to create following effects using Zend Framework:
1. different routes can be defined for the same controller and action.
2. one of these route can be defined as the master route for the
specified controller and action, and is used in the reverse url writing.
3. when the other routes defined for the specified controller+action is
accessed, it redirects with a 301 to the master route, so each
page(controller+action combo) has one stable URL. This is the key
requirement for SEO purpose.
How would you suggest about doing this?
Thanks.
Yi
没有评论:
发表评论