Menu
Latest Articles
- Make Apache listen on a different port
- XAMPP fails to start Apache 2 on Windows
- Remove Powered By text from RSMonials
- Joomla Zip Archiver
- Installing XDebug on XAMPP
- Joomla .htaccess - redirect non-www to www
- Remove Powered By text from JDownloads
- Joomla Custom PayPal IPN
- Using multiple databases within Joomla Framework
- Ajax Control Toolkit AsyncFileUpload - The file attached is invalid
Login
Joomla .htaccess - redirect non-www to www |
![]() |
![]() |
![]() |
| Written by Alex Balyuk | ||||
| Saturday, 04 September 2010 04:38 | ||||
|
You probably noticed that if you type in boolcast.com or www.boolcast.com in your browser you will get to the same place. Wonder what the difference is? The answer is - there is not difference, for a human at least. This is just a preference that helps you improve search engine optimization (SEO). Search engines treat non-www and www domains as different entities for indexing. If you want your search engine ranking to go up at a higher rate you must decide on how you want your domain to appear, www or non-www. If you will not specify preferred domain your search rank will get split between non-www and www, putting you lower in the search results.
Joomla is the best CMS. It has basic SEO that does a good job, if you want to keep things simple and do not want to use third party components like sh404SEF
Here is what you have to add to .htaccess file to enabled the forwarding from non-www to www
If you are not using Joomla SEO with .htaccess enabled, create a new .htaccess file in your site root and add following content to it.
If you are using Joomla SEO with .htaccess enabled add these lines of code above "Begin - Joomla! core SEF Section"
You can download complete htaccess file below
|
||||
| Last Updated on Tuesday, 07 September 2010 14:20 |
is Free Software released under the GNU/GPL License.






Comments