Welcome Guest, Not a member yet? Register   Sign In
Setting a homepage
#1

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
Reply


Messages In This Thread
Setting a homepage - by TamasD - 03-28-2018, 12:11 PM
RE: Setting a homepage - by jreklund - 03-28-2018, 02:09 PM
RE: Setting a homepage - by TamasD - 03-28-2018, 02:11 PM
RE: Setting a homepage - by InsiteFX - 03-28-2018, 02:32 PM
RE: Setting a homepage - by jreklund - 03-28-2018, 02:53 PM
RE: Setting a homepage - by InsiteFX - 03-28-2018, 08:17 PM
RE: Setting a homepage - by XtreemDeveloper - 03-29-2018, 05:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB