added redirect if you used id value to get to post.