If you use WordPress for your website you may use affiliate links or different links that you may want to shorten or mask with a domain link instead. One reason you may want to do this is if you have a link to a youtube video that you made for your website you may want the link to be yourdomain.com/youtube instead of youtube.com/linktext. We use the Pretty Links plugin for that on this website.
This post has information that may help you with using that plugin to shorten or mask links like affiliate links on WordPress on there. If you have not installed the pretty links plugin here is information on how to install the pretty links plugin on your website. You may want to make a backup of your website before you install or use plugins like this one on your website.
- From the WordPress Admin you can click on pretty links > add new in the left menu
- On that page you can then add the title for the link
- Then you can put in the type of redirection you want to use and 307 temporary is the default on it
- Then you can put in the target url which would be your affiliate link or the youtube link if like in the example at the top of this post
- Then you can use the pretty link field to type in text you want in the link like we typed in youtube in the example at the top of this post
- Then you can click on the copy to clipboard button to the right of the pretty link field to copy the link to use on your website
- Then you can put in notes if you want for it
- Then you can click on the update button to update the link on it.
Then you can use the shortened or masked link in a wordpress post or page on your website.