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   2329 Views

Avatar
gakenny

Community Member, 153 Posts

26 January 2007 at 3:44pm

Hey!

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

Cheers,

Gary

Avatar
Sam

Administrator, 685 Posts

26 January 2007 at 4:47pm

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/',
));