Minor edits to Posts controller and Post library. Minor edit to .htaccess file.