You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/config/GeneralConfig.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1986,9 +1986,9 @@ class GeneralConfig extends BaseConfig
1986
1986
* | `page/` | `/news/page/5` |
1987
1987
* | `?page` | `/news?page=5` |
1988
1988
*
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.
1992
1992
* :::
1993
1993
*
1994
1994
* ::: code
@@ -5544,9 +5544,9 @@ public function optimizeImageFilesize(bool $value = true): self
5544
5544
* | `page/` | `/news/page/5` |
5545
5545
* | `?page` | `/news?page=5` |
5546
5546
*
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.
0 commit comments