To speak specifically, I have a URL to one page on a website but the URL is somewhat long and ugly.
It might look a little bit like this
mywebsite.com/all-products/hats/golf-caps
however, my marketing team feels this URL is too long and wants me to add a "prettified" url like this:
mywebsite.com/golf-caps
But all it would really do is redirect to the original route.
Is there a way to do this in ember.js? Or is this a bad practice? Ideally, I would only need to modify the router file rather than create a completely new route in my application just to perform a redirect.
Aucun commentaire:
Enregistrer un commentaire