Now, you have setup a website, signed up with a few affiliate programs and want to share some of your posts and pages to your social media. These links can be lengthy and cause issues if someone wants to copy-paste the links. There is a solution for this for WordPress. Search for URL Shortener plugins and install the one that fits your needs.
You can set a short code for your affiliate or other URLs that are very long; this is very useful, especially for affiliate links.
The link that visitors will see is the domain name + shortlink as shown in the above screen shot. The plugins also have many settings and keep track on the clicks for each shortened link.
https://affiliateprogramme.com/r.cfm?b=1273891&u=3105195&m=84077&urllink=www%2Eaffiliatexyz%2Ecom%2Fdeals%2Fwatercolor%2Dphoto%2Deffect%2F&afftrack=asdfasf
will become https://yourdomain.com/shortlink