I've added a link to my header.php and despite trying various solutions from stackoverflow, it still isn't working for me. Can someone please help? Thank you in advance :)
Here's my folder structure:
Main Folder: ci_attl - application - css - style.css
<link href="<?php echo base_url();?>application/css/style.css" rel="stylesheet"> - not functioning properly
<link href="<?php echo base_url();?>/css/style.css" rel="stylesheet"> - not functioning properly
<link href="<?php echo base_url();?>../css/style.css" rel="stylesheet"> - not functioning properly
My autoload.php
$autoload['helper'] = array('form','url', 'html');
My .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ci_attl/
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
My config.php
$config['base_url'] = '';
$config['index_page'] = '';
Console error message:
Failed to load the resource: the server responded with a status of 403 (Forbidden)
http://[::1]/ci_attl/application/css/style.css