I was thinking I could just redirect everything to www and let that handle it, but the ticket description wants the functionality to be copied over.

That being said, some ending in slashes and some not is a result of the copying of this functionality.