codeigniter でアプリケーションを開発しています。私のフォルダアーキテクチャは、
コントローラー -- フロントエンド -- メンバー -- profile.php
のようにこれにアクセスするとhttp://localhost/sample/www/index.php/frontend/members/profile
、page not found
エラーが発生します。
私は codeigniter バージョン 2.1.3 を使用していますが、URL リダイレクトは行っていません。
私は次のように呼んでいます。
if($result) {
$this->session->set_userdata('irid', $result);
redirect('frontend/members/profile');
}