Wheres the www. gone?

I currently have a site with web host SiteGround.



However my home page web address shows as



[url]http://mysite.com/index.php[/url]



rather than



[url]http://www.mysite.com/index.php[/url]



Does anyone know why this occurs.

Have I installed my site in the wrong place?



Even when i physically enter [url]http://www.mysite.com/index.php[/url] it defaults to [url]http://mysite.com/index.php[/url]



Thanks.



bart

Look in config.local.php



// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘[COLOR=red]www[/COLOR].whatever.com’;

$config[‘http_path’] = ‘’;

// Host and directory where software is installed on secure server

$config[‘https_host’] = ‘[COLOR=red]www[/COLOR].whatever.com’;

$config[‘https_path’] = ‘’;

If you have CPanel, go to Redirection and set it there. Check also if you have on your server:



htaccess.txt

.htaccess



The first one is created by your server automatically, but it won’t work if also .htaccess is there. Copy the content from the first one into the second one and remove htaccess.txt

I have a question about this. I am referenced in Google without the www.



If I add a redurect from http://.… to http://www… , will that affect my rankings after a Google crawl?

No, it wont.



You can also specify in Google Webmaster Tools to show your URL as WWW.




[quote name=‘gugga7’]I have a question about this. I am referenced in Google without the www.



If I add a redurect from http://.… to http://www… , will that affect my rankings after a Google crawl?[/QUOTE]