Title: via.mg – Auto Short Links &amp; Social Previews
Author: viamg
Published: <strong>Ògún  29, 2026</strong>
Last modified: Ògún  30, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/via-mg/assets/banner-772x250.png?rev=3672799)

![](https://ps.w.org/via-mg/assets/icon.svg?rev=3672235)

# via.mg – Auto Short Links & Social Previews

 Láti ọwọ́ [viamg](https://profiles.wordpress.org/viamg/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/via-mg.1.2.2.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/via-mg/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/via-mg/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/via-mg/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/via-mg/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/via-mg/)

## Àpèjúwe

A short link for every story you publish, and a share preview that looks its best
on Facebook and WhatsApp. via.mg is a small, handmade URL shortener from Madagascar,
built to be genuinely enjoyed, and to give you back control of the links you share.

This plugin connects your WordPress site to your via.mg account. Every time you 
publish a post, it automatically gets its short link, and republishing never creates
a duplicate. The short link appears on the edit screen and in the posts list, ready
to copy.

**What the plugin does**

 * A short via.mg link for every published post, without thinking about it.
 * No duplicates: republishing or updating always reuses the same link.
 * A clean social preview: title, excerpt and featured image reused for Facebook
   and WhatsApp (optional).
 * The short link shown on the edit screen and in the posts list, with a copy button.
 * Never blocks publishing: if the network fails, the link is picked up on the next
   save.

**What the plugin does not do** (on purpose)

No shortcodes, no Gutenberg block, no statistics inside WordPress, no permalink 
replacement. via.mg does one thing and does it well.

### External services

This plugin connects your site to **via.mg** (https://via.mg), an external URL shortening
service. It cannot work without it: short links are created and stored on via.mg,
not on your site, and using the plugin requires a free via.mg account and an API
token.

Please note that the author of this plugin also operates the via.mg service. The
data described below is therefore sent to a service run by the plugin author, and
not to an unrelated third party.

The plugin contacts https://via.mg from your WordPress admin only, and only once
you have saved an API token. What is sent depends on the action:

 * **Testing the connection** (Settings > via.mg): your API token, so via.mg can
   confirm it is valid.
 * **Publishing a post** with shortening enabled: your API token, the post permalink
   and its title. If the social preview option is on, the post excerpt and the URL
   of its featured image are sent as well.
 * **Updating a post that already has a short link**: your API token, the via.mg
   identifier of that link, and the same title, excerpt and featured image URL, 
   so the share preview stays in step with the post.

Nothing else is sent. There is no analytics, no telemetry, and no request at all
before a token is saved. Requests identify themselves as “via-mg-wp” followed by
the plugin version, which says nothing about your site.

Storage, retention and deletion of that data are governed by the via.mg service:

 * Terms of Service: https://via.mg/conditions
 * Privacy Policy: https://via.mg/confidentialite

## Àwọn àwòrán ìbòjú

[⌊Settings > via.mg: the token, the connection test, and the shortening options.⌉⌊
Settings > via.mg: the token, the connection test, and the shortening options.⌉[

Settings > via.mg: the token, the connection test, and the shortening options.

[⌊The short link on the post edit screen, ready to copy.⌉⌊The short link on the 
post edit screen, ready to copy.⌉[

The short link on the post edit screen, ready to copy.

[⌊The via.mg column in the posts list.⌉⌊The via.mg column in the posts list.⌉[

The via.mg column in the posts list.

## Ìgbéwọlẹ̀

 1. Install and activate the plugin.
 2. Create an API token from your account at https://via.mg/compte/api.
 3. In WordPress, go to Settings > via.mg, paste the token and click “Test connection”.
 4. Publish a post: its short link appears in the via.mg column.

## FAQ

### Is it really free, and why?

Yes. No ads, no tracking of your readers, no data resold, and no paid tier waiting
to close over features you already use. via.mg is a small self-funded product from
Madagascar; the plugin is free and open source.

### What happens to my links if via.mg shuts down?

Your site is unaffected. The plugin never replaces a permalink: the canonical address
of a post stays your own siteÌtumọ̀ Yorùbá: ’s URL. If via.mg disappeared, your 
posts would keep working exactly as before, and only the short links already shared
would stop resolving. That is a narrow promise, but it is one we can actually keep.

### What exactly leaves my site?

Four things, and nothing else: the postÌtumọ̀ Yorùbá: ’s address, its title, its
description and the address of its featured image. No reader data, no IP addresses,
no visitor statistics, no subscriber lists. The plugin also sends an explicit `via-
mg-wp/` user agent so that via.mg stops receiving your siteÌtumọ̀ Yorùbá: ’s address,
which WordPress would otherwise include by default.

### Does it conflict with my SEO plugin?

No. The plugin writes no `og:` tag into your site, so Yoast, Rank Math, AIOSEO or
SEOPress keep full control of your pages. via.mg serves the share preview on the
short linkÌtumọ̀ Yorùbá: ’s own page. The honest corollary: this preview only applies
when the short link is what circulates. When someone shares your normal post URL,
your SEO plugin decides the preview, as it always did.

### Can it slow down or block publishing?

No. The call has an 8 second timeout, and a network failure is simply retried the
next time you save. Publishing never waits on via.mg.

### Do I need a via.mg account?

Yes. The plugin acts on behalf of your via.mg account using a token you create at
https://via.mg/compte/api. Creating an account is free.

### Does republishing a post create a second link?

No, never. via.mg recognizes a destination that has already been shortened and returns
the existing link.

### What happens if I duplicate a post?

The copy gets its own short link. A short link belongs to the post it was created
for, so a duplicate never inherits it and never overwrites the originalÌtumọ̀ Yorùbá:’
s share preview.

### Where are the statistics?

On via.mg, in your “My links” area. The plugin links there from the edit screen.

### Is my token safe?

It is stored in your siteÌtumọ̀ Yorùbá: ’s database, in the options table, and the
settings screen never shows it again once saved: the field stays empty, and leaving
it empty keeps the token you already saved. It is never included in a WordPress 
content export. Treat a database backup as sensitive, and revoke the token from 
your via.mg account if you ever suspect it leaked.

### In which language is the plugin?

The admin interface is in English, the pluginÌtumọ̀ Yorùbá: ’s source language. 
French and Malagasy translations are delivered by WordPress.org once available, 
so the plugin follows your siteÌtumọ̀ Yorùbá: ’s language.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“via.mg – Auto Short Links & Social Previews” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀.
Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ viamg ](https://profiles.wordpress.org/viamg/)

A ti túmọ̀ “via.mg – Auto Short Links & Social Previews” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́
fún [àwọn atúmọ̀ èdè](https://translate.wordpress.org/projects/wp-plugins/via-mg/contributors)
fún àwọn ìkópa wọn.

[Túmọ̀ “via.mg – Auto Short Links & Social Previews” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/via-mg)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/via-mg/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/via-mg/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/via-mg/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/via-mg/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.2.2

 * Display name and plugin header now match, and the listing describes what the 
   plugin does.

#### 1.2.1

 * The short link is no longer cut off in the block editor sidebar: the copy button
   now wraps below the field when space is tight.

#### 1.2.0

 * Duplicating a post no longer copies its short link: the copy now gets its own,
   and the originalÌtumọ̀ Yorùbá: ’s share preview is left alone.
 * The saved API token is no longer written back into the settings form, and can
   be removed from there.
 * Internal renaming for stricter prefixing, and the settings script and styles 
   are now enqueued instead of inlined.

#### 1.1.0

 * The plugin now identifies itself to via.mg as “via-mg-wp”. WordPress used to 
   send its default user agent, which includes your site address; via.mg no longer
   receives it.

#### 1.0.0

 * First release: automatic shortening on publish, social preview, meta box and 
   column.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.2.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọ̀sẹ̀ 2 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **Tó kéré sí 10**
 *  Ẹ̀yà WordPress ** 5.6 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.1**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Àwọn èdè
 * [English (US)](https://wordpress.org/plugins/via-mg/) àti [Malagasy](https://mg.wordpress.org/plugins/via-mg/).
 *  [Túmọ̀ sí èdè rẹ](https://translate.wordpress.org/projects/wp-plugins/via-mg)
 * Àwọn àmì
 * [open graph](https://yor.wordpress.org/plugins/tags/open-graph/)[social preview](https://yor.wordpress.org/plugins/tags/social-preview/)
   [url shortener](https://yor.wordpress.org/plugins/tags/url-shortener/)[whatsapp](https://yor.wordpress.org/plugins/tags/whatsapp/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/via-mg/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/via-mg/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/via-mg/reviews/)

## Àwọn Olùkópa

 *   [ viamg ](https://profiles.wordpress.org/viamg/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/via-mg/)