CSS, JS, Image and inner page links are not working |
(06-22-2017, 11:46 AM)Martin7483 Wrote: Add code to your htaccess file. codeigniter will work without htaccess. @shehin add the base_url to config.php and in the html head Code: <link rel="stylesheet" href="<?=base_url('path_to_css_file/youcssfile');?>"> if you have a folder strukture like this: application assets/css/youcssfile.css system index.php you can do this: Code: <link rel="stylesheet" href="<?=base_url('assets/css/youcssfile.css');?>"> |
Messages In This Thread |
CSS, JS, Image and inner page links are not working - by shehin - 06-22-2017, 09:52 AM
RE: CSS, JS, Image and inner page links are not working - by Martin7483 - 06-22-2017, 11:46 AM
RE: CSS, JS, Image and inner page links are not working - by Paradinight - 06-22-2017, 11:52 AM
RE: CSS, JS, Image and inner page links are not working - by Martin7483 - 06-22-2017, 12:23 PM
RE: CSS, JS, Image and inner page links are not working - by Paradinight - 06-22-2017, 12:39 PM
RE: CSS, JS, Image and inner page links are not working - by Martin7483 - 06-22-2017, 12:59 PM
|