Smart Link from TajNews

SmartLink Plugin is a free WordPress plugin designed to automatically create and display short links for your posts, powered by our own YOURLS server. Below is a detailed overview of its functionality, why we built it, and how you can use your own YOURLS domain if desired.


Why We Created This Plugin

We originally developed Smart Link from TajNews for our personal needs, aiming to simplify link shortening via a dedicated YOURLS setup. However, due to high demand and the prohibitive cost of many commercial solutions, we decided to make our plugin publicly available at no cost. By default, it can work in automatic mode using our own server, seamlessly generating short URLs for each published post.


Key Features & Functionality

  1. Automatic Link Generation
    • Every time you publish or update a post, the plugin connects to our YOURLS server (unless you specify your own) and creates a short link.
    • This short link is then displayed at the end of your post, inside a custom meta box in the WordPress editor, and can also be output via a shortcode . [ smart_link ]
  2. Use Your Own YOURLS Domain
    • If you prefer controlling the entire process, simply provide your own YOURLS domain and secret signature key in the plugin settings.
    • Once configured, the plugin will connect to your YOURLS instance instead of ours to generate short URLs.
  3. Easy Setup
    • No complicated instructions—just install the plugin, activate it, and (optionally) add your YOURLS domain and signature key if you want to override our default server.
    • For a custom YOURLS setup, you’ll need a domain configured for YOURLS (e.g., https://short.example.com) and a signature key available in your YOURLS admin panel.
  4. Copy Functionality
    • Users can quickly copy the short link from the meta box in the post editor or from the link displayed at the end of each published article. One click copies the link to the clipboard—simple and efficient.
  5. Support & Updates
    • We continuously improve and update Smart Link from TajNews to ensure compatibility with the latest WordPress versions.
    • If you have questions, issues, or need assistance configuring the plugin or YOURLS, our specialists are here to help. Feel free to contact us at info@tajnesw.org.

Getting Your Own YOURLS Domain & Key

  1. Install YOURLS
    • Set up YOURLS on your hosting (subdomain or directory).
  2. Obtain Your Signature Key
    • In the YOURLS admin area (Tools/Manage), locate your unique signature token (API key).
  3. Enter Settings in the Plugin
    • Go to “SmartLink Plugin” under Settings in WordPress, enter your domain (https://short.example.com without trailing slash) and signature key.
  4. Save & Publish
    • Upon publishing your next post, the plugin will generate short links using your own YOURLS server.

  • License: GPL v2 or later (fully compatible with WordPress).
  • Any included libraries or resources are also GPL or GPL-compatible.

Additional Information


In summary, Smart Link from TajNews offers a straightforward way to automatically shorten your post URLs, either using our default server or your own YOURLS setup. We value user feedback and endeavor to provide updates, new features, and reliable support. If you need any assistance or want to share improvements, please don’t hesitate to reach out to us at info@tajnesw.org.

Шарҳи худро илова кунед!