« Return to Thread: Url rewriting

Url rewriting

by -cab :: Rate this Message:

Reply to Author | View in Thread

Hello,

the indexAction of someController takes one parameter passed from the URL and uses it to fetch a row in a database.
The value of the "name" column of this row should be used for url rewriting.

What i want is basically to convert "mysite.com/some/index/1" to "mysite.com/namevalue".

How should i do this? Do i need to write my own router? I couldn't figure it out by reading the zend router documentation page.

Any help would be greatly appreciated.
Thanks!

 « Return to Thread: Url rewriting