This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

cassiotalle
cassiotalle

I have a dynamic page with the following settings: url = "/category/:name"

I would like to define the site.com/category/finances page like the homepage. What is the best way to do this?

Thank you...

mjauvin
mjauvin

Just change the url? Maybe I am missing something...

Last updated

mjauvin
mjauvin

Use one of the methods below:

  1. create homepage with url = "/" and add this method to its code section:
    function onStart() 
    {
       return Redirect::to("/category/finances", 302);
    }
  2. set that page's url as "/:name?finances"

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.