How to add a wordpress post title to url? : <p>I need to add a post title to the url, each word separated by a dash "-"</p>

<p>example: <a href="https://example.com/url.php?s=" rel="nofollow noreferrer">https://example.com/url.php?s=</a></p>

<p>add title: <a href="https://example.com/url.php?s=Hello-World" rel="nofollow noreferrer">https://example.com/url.php?s=Hello-World</a></p>

<p>(Sample title of the post: "Hello World!")</p>

<p>Is it possible? Can someone do this</p>
