Hi Jim,
I am still finding visitors to my site coming from the old IP-based name and I would like to redirect them to the correct site name. This is what I have tried and it is not working. I don't know why. Can you see my error?
# Externally redirect old mod_userdir-format requests to canonical hostname
RewriteCond %{HTTP_HOST} ^24\.248\.nn\.nnn\ [NC]
RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
RewriteRule ^(.*)$ http%2://www.mywebsite.com/$1 [R=301,L]
Thank you for your help.
Jeannie