Quote Originally Posted by kot1978 View Post
general question.


My store is set up by default to http://expample.com (when a user types in www.example.com - the page loads and displays "http://example.com", loosing "www.")
if i want to change it to http://www.example.com, where in config do i add "www."

thanx
Check your .htaccess file in the root of your site:



Code:
## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing:


RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead:

##RewriteEngine On
##RewriteCond %{HTTP_HOST} ^www.yoursite.com$ [NC]
##RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]

## the following makes sure the correct mime type is sent for the .htc file

AddType text/x-component .htc
Then once you have that fixed, check both admin/includes/configure.php and includes/configure.php and make sure you have the www entered.