To rewrite a https://www.domain.com to https://domain.com use this rule in the VHost config:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
Also for a simple redirect from http to https you can do the following:
Redirect permanent / https://tag401kadvantage.com/
As I come up with good rewrite rules, I will add them here!