Numerical URLs in menu

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
urbini
Forum Members
Forum Members
Posts: 31
Joined: Sun Dec 16, 2012 11:41 pm

Numerical URLs in menu

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Numerical URLs in menu

Post by Rolf »

Check your url and path settings in the config.php file in the root of the website.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Numerical URLs in menu

Post 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.
urbini
Forum Members
Forum Members
Posts: 31
Joined: Sun Dec 16, 2012 11:41 pm

Re: Numerical URLs in menu

Post 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
Post Reply

Return to “CMSMS Core”