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
When generating the sitemap spatie encodes parmeter separator '&' with '&' character entity.
I don't know if this is correct anyway I would like to have just the '&' not encoded at least for query parameters.
When I call writeToFile() the url's parameters result encoded with '&'.
original URL: https://www.colourusage.com/en/trend-shop/galleries/color-swatch-cards/CO?page=1&groupId=28
url written in sitemap: https://www.colourusage.com/en/trend-shop/galleries/color-swatch-cards/CO?page=1&groupId=28
therefore explode("&", $_SERVER['QUERY_STRING']); fails in the second case returning 'amp;groupId=20'.
Is there a way to change this behaviour? Thank you in advance
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When generating the sitemap spatie encodes parmeter separator '
&
' with'&'
character entity.I don't know if this is correct anyway I would like to have just the '&' not encoded at least for query parameters.
When I call writeToFile() the url's parameters result encoded with '
&
'.original URL:
https://www.colourusage.com/en/trend-shop/galleries/color-swatch-cards/CO?page=1&groupId=28
url written in sitemap:
https://www.colourusage.com/en/trend-shop/galleries/color-swatch-cards/CO?page=1&groupId=28
therefore explode("&", $_SERVER['QUERY_STRING']); fails in the second case returning 'amp;groupId=20'.
Is there a way to change this behaviour? Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions