• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WordPress Tips, Code Snippets, and How To Tutorials

  • Home
  • Blog
  • Tips
  • Snippets
  • Tutorials
  • Contact

How to use the Pretty Links WordPress plugin to shorten or mask links like affiliate links

October 28, 2019 by admin Leave a Comment

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.

  1. From the WordPress Admin you can click on pretty links > add new in the left menu
  2. On that page you can then add the title for the link
  3. Then you can put in the type of redirection you want to use and 307 temporary is the default on it
  4. 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
  5. 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
  6. 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
  7. Then you can put in notes if you want for it
  8. 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.

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: WordPress Tips Tagged With: Affiliate Marketing, Links, Plugins, WordPress Admin

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Hey, We Deliver... Anywhere!

Enter Email Address below to receive our snacks via email:

Join Over 1200 Readers!

Jump To A Random WordPress Tip

Copyright © 2019 • wpsnacks.com