How to get correct CSS file address in my view using base_url() CodeIgniter method
问题 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