Skip to content

Commit e097d7d

Browse files
committed
Clarify collisions between pageTrigger and pathParam
[ci skip]
1 parent dd95e78 commit e097d7d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/config/GeneralConfig.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,9 +1986,9 @@ class GeneralConfig extends BaseConfig
19861986
* | `page/` | `/news/page/5` |
19871987
* | `?page` | `/news?page=5` |
19881988
*
1989-
* ::: tip
1990-
* If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting which defaults to `p`.
1991-
* If your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
1989+
* ::: warning
1990+
* Craft may override this setting if it conflicts with <config5:pathParam>. If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting (which defaults to `p`).
1991+
* Then, if your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
19921992
* :::
19931993
*
19941994
* ::: code
@@ -5544,9 +5544,9 @@ public function optimizeImageFilesize(bool $value = true): self
55445544
* | `page/` | `/news/page/5` |
55455545
* | `?page` | `/news?page=5` |
55465546
*
5547-
* ::: tip
5548-
* If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting which defaults to `p`.
5549-
* If your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
5547+
* ::: warning
5548+
* Craft may override this setting if it conflicts with <config5:pathParam>. If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting (which defaults to `p`).
5549+
* Then, if your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
55505550
* :::
55515551
*
55525552
* ```php

0 commit comments

Comments
 (0)