Page 1 of 1

Internal Pretty URLs in 1.11.2 [solved]

Posted: Thu Sep 27, 2012 2:27 pm
by atdesign
Hi Guys,

Using 1.11.2 in two different installations and I've noticed that when using "$config['url_rewriting'] = 'internal';" in the config and clicking on deeper level links, we end up with multiple "index.php" in the URL.

E.g.: /index.php/index.php/how-cmsms-works/index.php/how-cmsms-works/index.php/index.php/default_templates/top_left/

Is this normal or a bug?
Thanks.

Re: Internal Pretty URLs in 1.11.2

Posted: Thu Sep 27, 2012 2:34 pm
by calguy1000
Just tested.... no problems here.

Re: Internal Pretty URLs in 1.11.2

Posted: Thu Sep 27, 2012 2:45 pm
by atdesign
I'm experiencing this on two separate servers, one being a Windows server.

Using $config['page_extension'] = '/'; but also tested with .html and both are still adding multiple 'index.php'.

I've also tried without any extension and ended up with the same result.

Re: Internal Pretty URLs in 1.11.2

Posted: Fri Sep 28, 2012 3:07 pm
by atdesign
I found the issue was that I did not have
$config['root_url'] = 'http://site.com';
set if the config.

IIRC, this was written to the config during installation in the past.

Re: Internal Pretty URLs in 1.11.2

Posted: Fri Sep 28, 2012 3:21 pm
by calguy1000
Of course there was no config/system information provided in the post to be able to reproduce the problem.

However, a properly working system does not need a $config['root_url'] entry in the config.php file in CMSMS 1.11.x

Infact, my sites do not have it.

Re: Internal Pretty URLs in 1.11.2 [solved]

Posted: Sat Sep 29, 2012 12:16 am
by Dr.CSS
Of course you probably don't use windoze servers... ::)