@@ -28,14 +28,23 @@ Initial Configuration
2828Setting the Base URL of Your Site
2929=================================
3030
31- Open the **app/Config/App.php ** file with a text editor and
32- set your base URL to ``$baseURL ``. If you need more flexibility, the baseURL may
33- be set within the :ref: `.env <dotenv-file >` file as ``app.baseURL = 'http://example.com/' ``.
34- (Always use a trailing slash on your base URL!)
35-
36- .. note :: If you don't set the ``baseURL`` correctly, in development mode,
37- the debug toolbar may not load properly and web pages may take considerably
38- longer to display.
31+ Open the **app/Config/App.php ** file with a text editor.
32+
33+ #. $baseURL
34+ Set your base URL to ``$baseURL ``. If you need more flexibility, the baseURL may
35+ be set within the :ref: `.env <dotenv-file >` file as ``app.baseURL = 'http://example.com/' ``.
36+ (Always use a trailing slash on your base URL!)
37+
38+ .. note :: If you don't set the ``baseURL`` correctly, in development mode,
39+ the debug toolbar may not load properly and web pages may take considerably
40+ longer to display.
41+
42+ #. $indexPage
43+ If you don't want to include **index.php ** in your site URIs, set ``$indexPage `` to ``'' ``.
44+ The setting will be used when the framework generates your site URIs.
45+
46+ .. note :: You may need to configure your web server to access your site with a URL
47+ that does not contain **index.php **. See :ref: `CodeIgniter URLs <urls-remove-index-php >`.
3948
4049Configure Database Connection Settings
4150======================================
0 commit comments