Some joomla powered websites have url problem, their url changed from www.domain.com to domain.com or domain.com to www.domain.com automatically. Is this a server problem, domain management problem or joomla setting problem? Is their anyone can tell me how to solve it?
You just check htaccess redirect rule which is by default in joomla. If it is wrong you search htaccess rule in google and upload htaccess.txt file in server.problem will be solved.
i think you should use .htaccess : RewriteCond %{HTTP_HOST} ^jw-extensions.net RewriteRule (.*) http://www.jw-extensions.net/$1 [R=301,L]
You can do it couple of ways. From your hosting account you can create a permanent redirect. You can also do it by .htaccess file.
Without a doubt, every Joomla site needs to have the redirect script shown above added to the htaccess...saves on many script issues.
in general it's best to display your URL's without the 'www.' in front of them. This is poor form and unnecessary. As people have said above, this can be done with your hosting provider, they will usually have a DNS editing tool that will let you configure this per-domain, and you can also do it manually for each site you wish with a re-write rule in a .htaccess file, but this is not quite as nice as having set it in your web hosting. Also, if you log into Google Webmaster tools you can configure how you want your domain to show up in Google, as well as submit a sitemap.xml and set a geographic target for your site, and customize the description Google uses when your site shows up in search results. If you haven't done this for your sites already I highly recommend it - it's free too! Take care, and best of luck