Redirect

Navigation:  Development > Function Reference > Helpers > Config >

Redirect

Previous pageReturn to chapter overviewNext page

Redirect a page in to other location.
 

App::Config()->redirect([Sub Part])

 

[Sub Part] always related URL. For example "/page/view/about-us".
 

Note: This function automatically call "exit" after header declaration.

 

See bellow example:

// Redirect to Home Page
App::Config()->Redirect()
 
// Redirect to Contact Us Page
App::Config()->Redirect("/contact-us")

 

See Also: Transfer