This is a core joomla problem for which I'm currently in discussion with Joomla core team.
In the mean time you may add to your (dot) h t a c c e s s file a redirection rule to redirect to your intended sitename in case of aliases:
[code:1]
RewriteBase /
RewriteCond %{HTTP_HOST} !
www.example.com [NC]
RewriteRule ^(.*)$
www.example.com/$1 [R=301,L,NC]
[/code:1]
This will avoid to have your site staying without the "www." in front if it's not the official address (and actually redirect to the official site any aliases, while keeping the rest of the url intact).
Here the Joomla thread:
forum.joomla.org/index.php?topic=106665
[Edit: hit submit to fast
, added missing ",L", changed rule to keep rest of URL, added joomla thread URL ]
Post edited by: beat, at: 2006/10/27 00:06
Post edited by: beat, at: 2006/10/27 00:10
Post edited by: beat, at: 2006/10/27 00:16
Post edited by: beat, at: 2006/10/27 00:17