[Solved] Setting the base href?

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
EGS
Forum Members
Forum Members
Posts: 66
Joined: Sat Apr 28, 2007 4:25 am

[Solved] Setting the base href?

Post by EGS »

Hi..

I cannot edit the base href in my templates system, so I suspect it's a setting with CMSMS.

How can I edit the base href?

Currently it's like http://site.com .. want to get it to http://www.site.com

Thank you.
Last edited by Anonymous on Sun Jun 29, 2008 6:31 pm, edited 1 time in total.
EGS provides MMORPG services for WoW, FFXI, FFXIV, AION, Warhammer Online, Age of Conan, RuneScape, Guild Wars, Maple Story, Cabal Online, as well as most other free-to-play MMORPGs.

Our site is *proudly* powered by CMS Made Simple. :D

CMS Made Simple isn't just simply, it's ridiculously powerful, and suitable for virtually any site and niche. It easily allows us to maintain our site in which receives about 5,000 unique visitors per day.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Setting the base href?

Post by Nullig »

In your config.php file:

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

Nullig
Frankie

Re: [Solved] Setting the base href?

Post by Frankie »

Nullig wrote: In your config.php file:

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

Nullig
is there a smarty tag to call this root url var elsewhere in content?
Frankie

Re: [Solved] Setting the base href?

Post by Frankie »

Franklin wrote:
Nullig wrote: In your config.php file:

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

Nullig
is there a smarty tag to call this root url var elsewhere in content?
i just solved my own riddle! the tag is simply {root_url}
Post Reply

Return to “CMSMS Core”