How do I set up my own shortened URL for my posts?

I have several different sites working with WordPress, and the URLs are quite long and bulky (especially when I try to post them via Twitter). I recently acquired a very short domain name and I would like to use it as the root of my personal URL shortening service.

So...

  • http://www.eamann.com/portfolio will become http://eam.me/portfolio
  • http://www.mindsharestrategy.com/wp-xmlrpc-movabletype/ will become http://eam.me/df3DF
  • http://www.prosepainting.com/coffee-shop-part-1/ will become http://eam.me/csp1
  • And things like https://wordpress.stackexchange.com/questions/3076/feature-survey-what-would-you-want-in-a-resume-themebecomehttp://eam.me/wpa3076

Basically, I want to configure and manage my own TinyURL-like server ... but with some specific requirements:

  • It needs to be fully integrated with WordPress so that I can dynamically create new short URLs when creating a page or post (each piece of content that I create on each site must have its own short URL).
  • I can indicate if I want the URL to be random (e.g. /df3Df), or I can select a unique string instead (e.g., /wpa3076) while creating the URL
  • I should be able to view / edit / manage the URLs that I have in the database from WordPress.

, YOURLS, . , ( , ) WordPress. , URL-, "", URL-, , , "" . , .

? ? , ?

( WordPress)

+3
2

YOURLS WordPress, YOURLS "" WordPress. YOURLS - Ozh, WordPress, .

, YOURLS URL- URL, , , WordPress.
API YOURLS , .

, , , , .
, ( - ), , , .

+1

Source: https://habr.com/ru/post/1770584/


All Articles