I would like to to setup via mod_rewrite to automatically detect if my website is being accessed via https/SSL and if so rewrite all internal links with https:// included. If the site is accessed via http, all links should remain the same. This is for a vbulletin 3.8. forum. Is this even possible? Any help with this?
You can configure redirect settings http:// to https:// in your .htaccess and change all internal links to https://