title: Codeigniter htaccess issue with wordpress
body: <p>I am facing an issue, although there are many answers to it but none seems to work.</p>
  
  <p>I have a hosting where wordpress is installed.
  Within there I created a folder and installed codeigniter.
  Somehow I have managed to remove index.php from url, but the css &amp; other files within iscaffold are not working.</p>
  
  <p>Here are the .htaccess files.</p>
  
  <p>Root:</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L] 
  &lt;/IfModule&gt;
  # END WordPress
  </code></pre>
  
  <p>Subfolder:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteBase /lastwish
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond $1 !^(index\.php|images|robots\.txt)
  RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>The url:
  <a href="http://epf-india.co.in.md-in-23.webhostbox.net/lastwish/login" rel="nofollow">http://epf-india.co.in.md-in-23.webhostbox.net/lastwish/login</a></p>
  
  <p>You can view source and see the css &amp; js files are redirecting.</p>
  
  <p>Thanks</p>