I am developing a project in CodeIgniter but facing the following problem:
I have following codes inside my view file(header):
<link rel="stylesheet" type="text/css" href="<?php echo base_url("includes/custom/css/slider-settings.css"); ?>">
On localhost it generates:
<link rel="stylesheet" type="text/css" href="http://127.0.0.1/radiant/includes/custom/css/slider-settings.css">
There is no problem when running on localhost every css & js files being loaded perfectly. But When I upload it to live server(to a subdomain of an existing website) no file is getting included there. I have been trying to solve it all the way possible but couldn't.
My directory structure is
Radiant// root of CI
- application
- system
- includes
----- custom
------css
----navbar-setting.css
----sidebar-setting.css
------js
------common
In localhost there is no problem but when uploaded to a subdomain, no file is being included.
Any help regarding this would be greatly appreciated.