Clean URLs in Kohana

1> Open bootstrap.php file for edit (you will find it in application/bootstrap.php)

2> Locate line

Kohana::init(array(

3> Change the code below:

Kohana::init(array(
	'base_url'   => '/kohana/',
));

To this one:

Kohana::init(array(
	'base_url'   => '/path/to/my/web/application/',
	'index_file' => FALSE,
));
Categories: PHP Tags: , ,
%d bloggers like this: