General Route Question

Topics: General
Jun 14, 2012 at 1:03 PM

I have a projection that I am filtering through a querystring value and simply just don't like the "?term=value" on the end of the url.

Current: http://mysite.org/maps?term=value
Desired: http://mysite.org/maps/value

Is it possible to do this using an alias even though "value" would be dynamic?  It would essentially just setup placeholders and then move the values around.

ex: http://mysite.org/maps/{0} -> http://mysite.org/maps?term={0}

or do I need to create a route and controller?

Thanks,

Mike

 

Coordinator
Jun 15, 2012 at 5:25 AM

You clearly need to create a route.