Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Changing default homepage


Reply

2 Posts   2252 Views

Avatar
gakenny

26 January 2007 at 3:44pm Community Member, 153 Posts

Hey!

Just a quick question... Does anyone know how to change the default homepage from home to another?

Cheers,

Gary

Avatar
Sam

26 January 2007 at 4:47pm Administrator, 685 Posts

Add the following to your _config.php. It will tell the system how to deal with the URL '' - ie, the root domain. The '->' at the beginning of the string tells it to redirect instead of looking for a controller of that name.

Director::addRules(100, array(
   '' => '->relative-page-url/',
));