title: How to change the extension in view using codeigniter 3?
body: <p>Here's my problem I setup Codeigniter 3 in my local and use an thirdparty (MX thing) now that I have adjusted the file path, I wanted to change the file extension that is being fetch the controller.</p>
  
  <pre><code>$this-&gt;load-&gt;view('welcome_message');
  </code></pre>
  
  <hr>
  
  <p>I change the file in views from:</p>
  
  <pre><code>welcome_message.php
  </code></pre>
  
  <p>to this</p>
  
  <pre><code>welcome_message.html
  </code></pre>
  
  <hr>
  
  <p>Now I get this error</p>
  
  <pre><code>An Error Was Encountered
  Unable to load the requested file: welcome_message.php
  </code></pre>
  
  <hr>
  
  <p>but I wanted to use the .html extension becuase the folder path that I will be using will only contain html/js/css (template folder) files only (i will separate the php files to template folder). How can this possibly happen?</p>
  
  <p>Any help is greatly appreciated, Thanks guys!</p>