Forum
ShortURL redirect (for things like flyers, and GA tracking)
It is often useful to send out a shorturl so users don't have lots to type to get to a specific page, and also for source tracking purposes. Is there a nice UI way to do this in perch runway, the only things to sprint to mind are * Do it in htaccess * Setup a collection called 'redirects', setup a page at /rd/$1, then when a user goes to the page, use $1 to find the destination from the collection, and redirect there with PerchSystem::redirect
If there is something a little cleaner and built-in though, that would be great
Do you want to redirect from the short URL to the full one, or just use a short URL?
From a short url to a full one, for example, a blog article goes up with a url of something like /2016/02/24/article-name and you want to link to it from a leaflet, so someone types in /leaflet60 and ends up on that blog page
For Blog that's pretty easy with what you have already - I wrote it up here:
https://allinthehead.com/retro/374/creating-custom-short-urls-in-perch-runway
It's the sort of thing that would make a really nice third party app, though.
Thanks Drew, sadly the requirement is for the client to add shorturl/destination pairs. If they play this, I may put an add-on together. Is there somewhere to share these addons with the wider community?
There's not an official place currently (well, there is, but it's not launched yet). There are sites like https://perchd.io which can help with promotion.