How to redirect Magento and Joolma! to open through www?

How to redirect Magento and Joolma! to open through www? For SEO and usability purposes you may want to redirect your visitors to open your site only through http://www.exampledomain.com. Some applications, including Joomla, require additional modifications to make this redirection work properly. First, you should open the .htaccess file in the root folder. In it locate the "RewriteEngine on" line and right after it add the following lines: RewriteCond %{HTTP_HOST} ^exampledomain.com$ [NC] RewriteRule ^(.*)$ http://www.exampledomain.com/$1 [R=301,L] Once you do this, save the .htaccess file and log in to the administrative end of Magento. Then go to the System > Configuration menu and from the left panel click the "Web" button. Unfold the "Unsecured" set of options and change the "Base URL" option from http://exampledomain.com to http://www.exampledomain.com. Save the changes and your Magento website will be running with www.exampledomain.com only!

Site Search

Contact Us

 
 
 
Parent Technology Inc.
1535 Rosalind Rd Se
East Grand Rapids, MI 49506, USA
 
 

This email address is being protected from spambots. You need JavaScript enabled to view it.