Closed engram-design closed 3 years ago
For the Forge example on a multi-site with subfolder setups, query strings aren't added to the URL rewrites.
To explain, we have a Craft install with two sites: http://sitename.com/ - The UK site http://sitename.com/australia-nz - The AU/NZ site
Let's say I visit http://sitename.com/australia-nz/query-test?test=something. I get the following dumping the request:
The query params are nowhere to be seen! After adding this change, the query params are present.
Also gives the added bonus of not relying on ?p= rewrites, and using $query_string is consistent with your other directives.
?p=
$query_string
Thanks @engram-design !
For the Forge example on a multi-site with subfolder setups, query strings aren't added to the URL rewrites.
To explain, we have a Craft install with two sites: http://sitename.com/ - The UK site http://sitename.com/australia-nz - The AU/NZ site
Let's say I visit http://sitename.com/australia-nz/query-test?test=something. I get the following dumping the request:
The query params are nowhere to be seen! After adding this change, the query params are present.
Also gives the added bonus of not relying on
?p=
rewrites, and using$query_string
is consistent with your other directives.