3 ms·
Wouldn't it be possible to have http://imadefood.com/recipe/NkgHYiLPl/herbs-and-gin http://imadefood.com/recipe/NkgHYiLPl/herbs-and-gin redirect to http://imade
by JadeNB 11y ago
Wouldn't it be possible to have http://imadefood.com/recipe/NkgHYiLPl/herbs-and-gin http://imadefood.com/recipe/NkgHYiLPl/herbs-and-gin redirect to http://imadefood.com/recipe/NkgHYiLPl http://imadefood.com/recipe/NkgHYiLPl, or vice versa, thus allowing short links when they are desired and informative links when they are desired?
- overcast 11y agoMuch simpler than that, simply regex the route to ignore past the recipe ID. Everything after is just descriptive text. This allows both as you suggested. I'm adding this tonight along with some other updates.