Skip to content Skip to footer navigation

Raw URL Encode Modifier

URL-encode a variable according to RFC 3986.

example: please and thank you/Mommy
http://example.com/{{ example | rawurlencode }}
https://example.com/{{ Statamic::modify($example)->rawurlencode() }}
http://example.com/please%20and%thank&20you%2FMommy