Clean up SSL url

Hi there,

I’m using a shared SSL certificate for a site. When accessing the site via SSL, I have to use the url:

Which looks a bit messy. I’d like to use mod_rewrite to clean it up so it looks like:

Not really sure a) how to do this. I’m thinking I need a conditional that will flag when HTTPS is on; b) whether is this actually good practice, or whether the browser will show an error, which would render the site untrustworthy to the user.

Many thanks in advance,


Sorry, you cannot display one DOMAIN while serving from another (unless you’re using frames and that would trigger a security warning).

If you want to get rid of the domain, spend the money for your own secure server cert (and dedicated IP address) - installation is trivial.