Fixed the .htaccess to forward to www.  Issue was it needs to do the forwarding before rewriting the variables.