Fix encyclopedia redirect
Fix diary entry redirect
Correct redirect to category detail
Add PREPEND_WWW to Heroku settings