Page 1 of 1

Numerical URLs in menu

Posted: Thu Nov 14, 2013 9:00 am
by urbini
Hi. It's already the second time it happens: yesterday I've seen that in the pages URLs in the menu (generated by MenuManager) the domain is in the numerical form, not the simbolic one.
For instance: http://93.95.217.77/en/Rooms.html instead of http://www.hotel-ladolcevita.biz/en/Rooms.html
As I did the first time, I've cleared the cache of CMSMS through the admin and everything was back.
Could you help me to find the reason of this behaviour of CMSMS?
I have the version 1.11.7
Thanks

Re: Numerical URLs in menu

Posted: Thu Nov 14, 2013 9:11 am
by Rolf
Check your url and path settings in the config.php file in the root of the website.

Re: Numerical URLs in menu

Posted: Thu Nov 14, 2013 9:38 am
by velden
By default later versions of CMSMS do not use the root_url definition in config.php but automatically determine the proper url. This often is useful (e.g. while moving a site, or when a site has multiple domain names attached).

However, if this automatic mechanisme fails you can 'hardcode' the root_url. Read the config reference pdf that comes with the cmsms install (/docs directory) and look voor root_url.

Re: Numerical URLs in menu

Posted: Thu Nov 14, 2013 11:53 am
by urbini
I've just taken a look at the root_url parameter in the CMSMS_config_reference in the doc directory. If I set this parameter, what about the pages with https? In the entire site I have both normal (http) and secure (https) pages, shoud I set both root_url and ssl_url in config.php? Or are they alternatives?
Thanks