I want it to redirect when sharing on social media

I want to do a similar thing, so that when I share it on facebook. It will redirect back to my main domain. Is there any documentation for me to do that?

Here is my link:: https://merry-swan-49fff4.netlify.app

This looks related to: