Skip to content

Commit

Permalink
added redirect from Archives
Browse files Browse the repository at this point in the history
  • Loading branch information
dnagir committed Mar 4, 2012
1 parent 46a4ad5 commit 971dfa6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app.rb
Expand Up @@ -30,6 +30,18 @@





# http://blog.approache.com/2011_12_01_archive.html
# =>
# http://approache.com/blog/archives/
get '/:year_:month_:day_archive.html' do
redirect "#{ROOT}/blog/archives/", 301
end




# blog.ApproachE.com -> ApproachE.com/blog
get '/' do
redirect "#{ROOT}/blog/", 301
Expand Down

0 comments on commit 971dfa6

Please sign in to comment.