How to set the blog as home page

edited March 2020 in Support

I can't figure out how to set that.
In CMS I have a page with location "home" and redirect works fine.
So I have tried to set that as alias with alias value as "blog", but the web browser (after loading for a while) shows an error

Fatal error: Allowed memory size of 167772160 bytes exhausted (tried to allocate 262144 bytes) in /home/users/michael/public_html/mywebsite/fuel/codeigniter/database/DB_driver.php on line 1944

Fatal error: Allowed memory size of 167772160 bytes exhausted (tried to allocate 262144 bytes) in /home/users/michael/public_html/mywebsite/fuel/codeigniter/core/Common.php on line 607

Have you guys any idea?

Comments

  • When you say "alias" you mean you setup a page with a layout of "Alias"?

  • edited March 2020

    I found the solution - in application/config/routes.php set the default_controller as blog:
    $route['default_controller'] = 'blog'; //'fuel/page_router';

    It would be great to make possible doing that in CMS.
    Is "Alias" not for that?

  • Alias is really just a way to make a page with the same content at a different location. To be honest, it's rarely used.

Sign In or Register to comment.