Add a Slash to The End of a URL Using HTAccess

htaccess

This will add a / to the end of a URL like www.hellojosh.com/about.

				RewriteCond %{REQUEST_FILENAME} !-f
				RewriteCond %{REQUEST_URI} !(.*)/$
				RewriteRule ^(.*)$ /$1/ [L,R=301]
			

This make sure that the url isn't a file and that it doesn't have a / at the end to begin with.