title: Multiple Web Pages in CodeIgniter
body: <p>I am having trouble simply making multiple pages with CodeIgniter. For example, I am trying to make a simple About page with codeigniter. So I create an about.php controller and an about_view.php view file. However if I were to try and make a link from the home page to "<a href="http://miketrottman.com/about" rel="nofollow noreferrer">http://miketrottman.com/about</a>" it will go nowhere. I am sure I am fundamentally missing something but I have read and watched example videos I am just spinning my wheels on this project at this point. Here is my home.php controller, let me know if I should post any other code. My site is <a href="http://miketrottman.com" rel="nofollow noreferrer">http://miketrottman.com</a>. I am new to the CodeIgniter scene an any help is much appreciated!</p>
  
  <p>home.php in Controller directory
  '
  
  <p>class Home extends Controller {</p>
  
  <pre><code>function Home()
  {
      parent::Controller();
  }
  
  function index()
  {
      //Load Extensions
      $this-&gt;load-&gt;database();
      $this-&gt;load-&gt;library('session');
  
      //Include these basics everytime the home page is loaded
      $data['pageTitle'] = "Trottman's Blog";
      $data['title'] = "Trottman's Blog Title";
      $data['heading'] = "Trottman's Blog Heading";
  
      //Load Proper CSS for users browser
      $data['css'] = $this-&gt;getCSS();
  
      //Load the Blog Model
      $this-&gt;load-&gt;model('blog_model');
  
      //Load the Blog Entries
      $data['blog'] = $this-&gt;blog_model-&gt;getBlogEntries();
  
      $data['blog_comments'] = $this-&gt;blog_model-&gt;getBlogCommentEntries();
  
      //
  
      //Load all of this information into the home_view Page
      $this-&gt;load-&gt;view('home_view', $data);
  }
  
  function getCSS()
  {
      //Load user_agent library to pull user's browser information
      $this-&gt;load-&gt;library('user_agent');
      //Agent is now the users browser
      $agent = $this-&gt;agent-&gt;browser();
      //According to the users browser, this is what the CSS should be
      if ($agent == 'Internet Explorer')
      {
          $cssFile = "ieStyle.css";
      }
      else
      {
          $cssFile = "style.css";
      }
  
      return $cssFile;
  }
  </code></pre>
  
  <p>}?>
  '</p>