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

herizo.ludovic16552
herizo.ludovic16552

Hi all,

I'm trying to redirect from '/' to another default home file inside a plugin . But seems have no effect . I checked herer and tested but seems like nothing happens . https://octobercms.com/docs/services/response-view#redirects

Probably someone else already experienced same difficulties.

abdoulaye.keita39671
abdoulaye.keita39671

i have the same issue

Last updated

Flynsarmy
Flynsarmy

In your page or component class, you should be able to return a redirect in most places.

function onStart()
{
    return Redirect::to($this->pageUrl('otherpage'));
}
genuineq
genuineq

I had the same problem and one of the things I noticed is that redirects towards static pages DON'T work.

1-4 of 4

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