Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

Setting a homepage

$
0
0
Hi,

I organized my controllers and views into subdirectories like this

frontend
admin

I created a Home.php in controllers/frontend
and a
home.php file in views/frontend

CI is installed in http://localhost/ci

when I access this url I'd like the home view to load, but currently I can only access it via http://localhost:8080/ci/frontend/home

I'm guessing it may have something to do with my .htaccess file which is this:


Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

What am I doing wrong?

Thanks

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>