Tutorial first app issues when not installed in doc root |
Hi, are you sure you put the correct url here?
Code: <p><a href="/news/<?= esc($news_item['slug'], 'url'); ?> As /news/ are not something that get's automatically get set. Just to make sure, you want https://www.soaringtools.org/ci-news/public to become https://www.soaringtools.org/ci-news ? If so, this needs to be set in .env Code: app.baseURL = https://www.soaringtools.org/ci-news/ And for removing "public" you can follow these instructions: https://forum.codeigniter.com/thread-759...#pid373901 To summarize; Rename "public" into "ci-news". All other files and folders need to be moved here: /pub/comwww/ci-news /pub/comwww/soaringtools/ci-news/index.php PHP Code: $pathsPath = FCPATH . '../../ci-news/app/Config/Paths.php'; |
Messages In This Thread |
Tutorial first app issues when not installed in doc root - by jmurtari - 05-05-2020, 09:18 AM
RE: Tutorial first app issues when not installed in doc root - by jreklund - 05-05-2020, 10:40 AM
RE: Tutorial first app issues when not installed in doc root - by jmurtari - 05-05-2020, 11:25 AM
RE: Tutorial first app issues when not installed in doc root - by jreklund - 05-05-2020, 11:42 AM
RE: Tutorial first app issues when not installed in doc root - by jmurtari - 05-05-2020, 12:45 PM
RE: Tutorial first app issues when not installed in doc root - by jreklund - 05-05-2020, 01:30 PM
RE: Tutorial first app issues when not installed in doc root - by jmurtari - 05-06-2020, 06:10 AM
|