title: CodeIgniter Base URL Not Applied
body: <p>I've been working on my first MVC-Based PHP application recently, using the CodeIgniter Framework. The project is now ready to go live for my friend/user to evaluate. As per the documentation, I have set the base url to '<a href="http://sitename.co.uk/subdir/" rel="nofollow noreferrer">http://sitename.co.uk/subdir/</a>'.</p>
  
  <p>When I browse to <a href="http://sitename.co.uk/subdir" rel="nofollow noreferrer">http://sitename.co.uk/subdir</a> I'm redirected to <a href="http://sitename.co.uk/sitename/subdir" rel="nofollow noreferrer">http://sitename.co.uk/sitename/subdir</a>. My shared hosting has a parent directory containing children directories with the name of each site I am hosting. I believe this is perhaps the cause of this.</p>
  
  <p>I have attempted modifying the .htaccess, on the off-chance that this was overwriting the base url defined in config.php, though this did not appear to be the case. The base_url in config.php appears to have no affect on where I'm redirected to when browsing to this page.</p>
  
  <p>The line for the base url currently reads:</p>
  
  <p>$config['base_url'] = '<a href="http://sitename.co.uk/subdir/" rel="nofollow noreferrer">http://sitename.co.uk/subdir/</a>';</p>
  
  <p>As always, any assistance is appreciated. I have little experience with web publishing.</p>