What I'm hoping to achieve is for someone visiting /events
on my site to be redirected to the current event's page ( /events/{url_title}
). However, this redirect would be dynamic to check for the one entry I have marked as the current entry, via a custom current_entry
field I've created (only one entry would be marked as true for this).
Is this possible to achieve without leveraging a plugin? I've only managed to get as far as hardcoding the redirect...
{if last_segment == 'grid'}
{redirect='events/grid/sxsw'}
{if:else}