Redirect to events of current year, link to event pages

This commit is contained in:
Stefan Schlott 2013-08-25 13:13:59 +02:00
parent d6eb173ca9
commit e191cc973e
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
ErrorDocument 404 /404/index.html
RedirectMatch 301 ^/events/$ /events/<%= Time.now.year %>/
RedirectMatch 301 ^/archives/articles/$ /archives/articles/<%= latest_articles(1)[0][:created_at].year %>/
RedirectMatch 301 ^/archives/twitter/$ /archives/twitter/<%= twitter_grouped_by_month.keys.sort.last %>/