-1

I'm moving my app (a CodeIgniter app-- I'm not sure if that is relevant) to a new web host and have to resolve some questions about pathing.

On my localhost dev environment, everything is working. Here is the folder layout:

  • Root Directory

    • Application

Here is the folder layout on my web host:

  • Root Directory

    • xyz folder

      • Application

If I visit the following URL in my browser, I get a 404 error:

http://myDomainName/xyz

Is there a way to correct this via .htaccess?

Thanks very much in advance to all for any info.

VikR
  • 4,818
  • 8
  • 51
  • 96

1 Answers1

1

Try configuring your config.php (application/config/config.php) to point to the correct base url for your webapp.

This line should be included in the file:

$config [‘base_url'] = http://myDomainName/xyz

phamous
  • 177
  • 10