Title: How to create Pretty Links programatically?
Last modified: October 6, 2020

---

# How to create Pretty Links programatically?

 *  Resolved [deputt](https://wordpress.org/support/users/deputt/)
 * (@deputt)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-to-create-pretty-links-programatically/)
 * I would like to shorten my URLs within my custom plugin. How do I create Pretty
   Links programatically?

Viewing 1 replies (of 1 total)

 *  Thread Starter [deputt](https://wordpress.org/support/users/deputt/)
 * (@deputt)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/how-to-create-pretty-links-programatically/#post-13666743)
 * Found it 🙂

Viewing 1 replies (of 1 total)

The topic ‘How to create Pretty Links programatically?’ is closed to new replies.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [deputt](https://wordpress.org/support/users/deputt/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/how-to-create-pretty-links-programatically/#post-13666743)
 * Status: resolved