title: 404/net::ERR_ABORTED error for assets in codeigniter
body: <p>I'm working through my first Codeigniter webpage, and I've run into a few peculiarities. The first is that I haven't needed to use base_url or site_url in front of my URLs to get them to work, at least not originally. I set up the main page, and simply did </p>
  
  <pre><code>&lt;link href="assets/css/bootstrap.min.css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>and this seemed to automatically add the domain name in front of it. I'm not sure how it worked, but it works for all the URLs like it. When I look at the inspect window, it shows like <a href="https://i.stack.imgur.com/1dNJa.jpg" rel="nofollow noreferrer">this</a>. I don't know if this is relevant, but I wanted to make note of it.</p>
  
  <p>The issue was on my second page. I added a new controller named Admin, and set it to bring up a different page. I set up the URLs in the same way I did before, but when I loaded it, the CSS and Javascript didn't load. In case it matters, I tried loading it by doing Domainname.com/Admin. The html loads correctly, but when I looked at the console, it gave me a <a href="https://i.stack.imgur.com/kIwxV.jpg" rel="nofollow noreferrer">net::ERR_ABORTED and 404 errors</a> for my images and files. I've double checked all of them, and they are all in the correct spot. I found this page: <a href="https://stackoverflow.com/questions/38787790/404-page-not-found-error-in-codeigniter">404 page not found error in Codeigniter</a> and tried using the solution there in my .htaccess file. It not only didn't work, but now the original page that was working correctly refuses to load up any of the asset files. I tried removing the new line of code, but it still will not work correctly, even though everything is the exact same way it was before. </p>
  
  <p>Here is my .htaccess folder:</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /eventCentral/
  
  RewriteCond %(REQUEST_FILENAME) !-f
  RewriteCond %(REQUEST_FILENAME) !-d
  
  #RewriteCond $1 !^(index\.php|assets)
  
  RewriteRule ^ index.php [QSA,L]
  </code></pre>
  
  <p>I tried removing the commented piece of code completely, but it still didn't fix it. </p>
  
  <p>My file structure is also correct, and can be seen <a href="https://i.stack.imgur.com/uCNl3.jpg" rel="nofollow noreferrer">here</a>.</p>
  
  <p>As I said, I'm still very new to code igniter, so if answers can be broken down Barney style, I'd appreciate it. I've also tried looking through a number of stack overflow questions that seemed relevant, and I still haven't found a solution that works.</p>