Joomla : Non-www URLs

1. SEO friendly URLs and non-www URLs

While using SEF Plugins with Joomla, one of the common issue encountered is that the default urls are without www i.e. (assuming that Joomla is installed in the root domain)

This might irritate webmasters causing duplicate url indexing

a. Change your Live Site URL to

Download the config file “configuration.php” and edit the variable $mosConfig_live_site value to set it to

This will cause all base URL to change to, hence all your internal page urls would be linked through urls with www

b. Use htaccess/Mod_Rewrite to redirect your domain to

Here is how

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^
RewriteRule (.*)$1 [R=301,L]

This entry was posted in Joomla and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *