Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Aug 29, 2023

Description
See https://forum.codeigniter.com/showthread.php?tid=88363

  • add about $indexPage

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the documentation Pull requests for documentation only label Aug 29, 2023
@kenjis kenjis changed the title docs: improve on Site URIs docs: improve on Site URIs setting Aug 29, 2023
@kenjis
Copy link
Member Author

kenjis commented Aug 31, 2023

Can someone review?

@kenjis kenjis added the help wanted More help is needed for the proper resolution of an issue or pull request label Sep 4, 2023
#. $baseURL
Set your base URL to ``$baseURL``. If you need more flexibility, the baseURL may
be set within the :ref:`.env <dotenv-file>` file as ``app.baseURL = 'http://example.com/'``.
(Always use a trailing slash on your base URL!)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw some people having problems in the forum. I think it is prominently bold.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean to make "Always use a trailing slash on your base URL!" bold?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. Yes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Contributor

@datamweb datamweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kenjis kenjis merged commit ec8ba91 into codeigniter4:develop Sep 7, 2023
@kenjis kenjis deleted the docs-baseURL branch September 7, 2023 23:59
@kenjis
Copy link
Member Author

kenjis commented Sep 7, 2023

@datamweb Thank you for the review!

@neznaika0
Copy link
Contributor

@kenjis is there some important reason not to remove the index? Most people ask a question and no one wants to have an index in the URL. Should it be disabled by default?

@kenjis
Copy link
Member Author

kenjis commented Sep 8, 2023

It came from CI3. Probably, the URI with index.php always works, but the URI without it needs mod_rewrite on Apache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only help wanted More help is needed for the proper resolution of an issue or pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants