Updated redirects in PostsController to use permalink paths.