[SOLVED] How do I add "www." to my cms ms site - Please Help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
probs
New Member
New Member
Posts: 6
Joined: Mon Jan 28, 2008 12:49 am

[SOLVED] How do I add "www." to my cms ms site - Please Help

Post by probs »

I had originally installed my cms ms site on http://mydomain.com (just an e.g. domain) but now I would like to change the setting to http://www.mydomain.com

Basically I want to know how to add "www." after the "http://", when I had originally installed my cms ms site on "http://" without the "www."

I can't find any option to achieve that (I think I've looked everywhere and even googled for answers - with no results).

So I would be very grateful if someone could please help me out with this..
Last edited by probs on Sun Dec 06, 2009 1:45 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: How do I add "www." to my cms ms site - Please Help

Post by Rolf »

Hi probs

Please read my article about this:
http://forum.cmsmadesimple.org/index.ph ... 912.0.html
and more...

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
scooper
Forum Members
Forum Members
Posts: 242
Joined: Fri Dec 09, 2005 12:36 pm

Re: How do I add "www." to my cms ms site - Please Help

Post by scooper »

This is stored in the configuration file config.php in the root of your CMSM install.

You should download it and look for the 'root_url' setting.

You'll have something like this:

$config['root_url'] = 'http://millipedia.co.uk';

Change that value to the full URL you want:

$config['root_url'] = 'http://www.millipedia.co.uk';
probs
New Member
New Member
Posts: 6
Joined: Mon Jan 28, 2008 12:49 am

Re: How do I add "www." to my cms ms site - Please Help

Post by probs »

Thanks I now have pretty urls!  ;D
Post Reply

Return to “CMSMS Core”