(03-19-2024, 12:13 AM)InsiteFX Wrote: That's how I do it works every time.
PHP Code:
<!-- Core theme CSS (includes Bootstrap)-->
<link href="<?= base_url('assets/bootstrap/css/bootstrap.css'); ?>" rel="stylesheet">
<script src="<?= base_url('assets/fontawesome/js/all.js'); ?>"></script>
I have tried base_url('assets/css/my.css') and
<head>
<base href="<?= base_url();?>">
<link href="assets/css/my.css" rel="stylesheet">
l
</head>
nothing is working. Have also tried the default .htaccess that came bundled with CI4 and this
.htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
So far none seems to work.