Welcome Guest, Not a member yet? Register   Sign In
stackoverflow works but my site doesn't
#9

This is how I setup my assets folder, You can change to suit your needs but do not move the assets folder
out of the public / public_html folder that's where index.php is.

public / public_html folder
-- index.php
-- assets
[Image: assets_folder.png]

And this is how I setup the header links:

Code:
<!-- favicon -->
<link rel="icon" href="<?php echo base_url('assets/favicon.ico'); ?>">

<!-- Bootstrap CSS file -->
<link href="<?php echo base_url('assets/bootstrap-3.3.7/css/bootstrap.min.css'); ?>" rel="stylesheet">
<link href="<?php echo base_url('assets/bootstrap-3.3.7/css/bootstrap-theme.min.css'); ?>" rel="stylesheet">

<!-- Font Awesome Fonts -->
<link href="<?php echo base_url('assets/font-awesome/css/font-awesome.min.css'); ?>" rel="stylesheet">

<!-- Custom Application Overrides CSS. -->
<link href="<?php echo base_url('assets/css/web-app.css'); ?>" rel="stylesheet">
Hope that helps...
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: stackoverflow works but my site doesn't - by InsiteFX - 05-12-2018, 04:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB