Short.bg URL Shortener

Plugin Banner

Short.bg URL Shortener

by Kostov

Download
Description

Short.bg URL Shortener lets editors generate short links for posts directly in the post editor.

Features:
– Settings page under Settings > Short.bg URL Shortener
– API key configuration
– Checkboxes for all public post types to control where the widget appears
– Editor widget with:
– Source URL field
– “Shorten this link” button
– Optional password
– Optional validity date
– Result short URL with copy button

API behavior:
– Endpoint: POST https://short.bg/api/v1/links
– Always sends:
url
– Optional fields when provided:
redirect_password
active_period_start_at
active_period_end_at

External services

This plugin connects to the Short.bg API to create short links from the WordPress editor. The plugin cannot create short links without this external service.

Service provider: Short.bg (https://short.bg)

Data sent to the service:
– The long URL entered by the user (url) when the user clicks “Shorten this link”.
– Optional fields only if provided by the user:
redirect_password
active_period_start_at
active_period_end_at
– The API key is sent in the Authorization request header on each API request.

When data is sent:
– Only when an authorized user clicks the “Shorten this link” button in the editor widget.
– Data is sent via POST https://short.bg/api/v1/links.

Service terms and privacy policy:
– Terms of Service: https://short.bg/tos
– Privacy Policy: https://short.bg/tos (section “Политика за поверителност”)

  1. Upload the short-bg-url-shortener folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen.
  3. Open Settings > Short.bg URL Shortener.
  4. Enter your Short.bg API key and select post types.
Where do I get an API key?

  • Register: https://short.bg/register
  • API key: https://short.bg/account/api
  • API docs: https://short.bg/developers/links

1.0.0

  • Initial release.
Back to top