Pretty Url problem [Solved]

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
johnl
Forum Members
Forum Members
Posts: 34
Joined: Thu May 03, 2007 5:58 am

Pretty Url problem [Solved]

Post by johnl »

CMSMadesimple 1.2.5

PHp 5 MySql 5

Shared hosting

I have modified config.php for pretty URl's

$config['internal_pretty_urls'] = true;

$config['use_hierarchy'] = true;

but I am getting


http://example.com/index.php/parent/child

Instead of

http://www.example.com/index.php/parent/child

Any ideas?

Thanks
Last edited by johnl on Mon Jun 09, 2008 6:41 pm, edited 1 time in total.
User avatar
tinhat
Forum Members
Forum Members
Posts: 65
Joined: Fri May 23, 2008 6:33 am
Location: Sydney, Australia

Re: Pretty Url problem

Post by tinhat »

In config.php, around line 41 will be a line like:

$config['root_url'] = 'http://yourdomain.com';

make the correction there (to add www. onto yourdomain.com).
johnl
Forum Members
Forum Members
Posts: 34
Joined: Thu May 03, 2007 5:58 am

Re: Pretty Url problem

Post by johnl »

tinhat wrote: In config.php, around line 41 will be a line like:

$config['root_url'] = 'http://yourdomain.com';

make the correction there (to add www. onto yourdomain.com).


Thank you
Post Reply

Return to “CMSMS Core”