Setting a default value for the comment count and setting paths for 500 page