Title: Shortlinks
Author: aizatto
Published: <strong>15.04.2010</strong>
Last modified: 15.04.2010

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://s.w.org/plugins/geopattern-icon/shortlinks.svg)

# Shortlinks

 Автор: [aizatto](https://profiles.wordpress.org/aizatto/)

[Скачать](https://downloads.wordpress.org/plugin/shortlinks.0.1.zip)

 * [Детали](https://ru.wordpress.org/plugins/shortlinks/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/shortlinks/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/shortlinks/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/shortlinks/#developers)

 [Поддержка](https://wordpress.org/support/plugin/shortlinks/)

## Описание

Shortlinks allows you to easily retrieve the shortlink for your WordPress posts,
pages, categories, post_tags, attachments, custom post types, and custom taxonmies.

By default, WordPress uses links a query string ( ie: http://blog.aizatto.com/?page_id
=3565 ) to load up your posts, pages, categories, etc. But when you enable permalinks,
the query string is hidden by the WordPress rewrite rules. Having pretty urls is
great, but also makes the website less flexible. For example, changing a posts published
date will change the URL.

While we can’t control how other people will link to our site, we can control how
we link to our internal sites.

By default, with permalinks enabled, when visiting WordPress with a shortlink, WordPress
will redirect you to the permalink URL.

### How It Works

Shortlinks hooks into the WordPress filter `get_shortlink` to enable shortlinks 
for all WordPress types.

You can use Shortlinks in your own theme or plugin.

To return the shortlink for a post, page, or custom post type, where $id represents
the ID:

To return the shortlink for a category, where $id represents the category id:

To return the shortlinks for custom taxonomy, where $id represents the term id, 
and $taxonomy represents the custom taxonomy:

### Why I Created It

WordPress supports shortlinks by default, but only allows the user to get the shortlink
for a post. Finding it unacceptable, I created a plugin to get shortlinks for all
content types.

## Скриншоты

[⌊Easily get shortlinks for posts⌉⌊Easily get shortlinks for posts⌉[

Easily get shortlinks for posts

[⌊Easily get shortlinks for pages⌉⌊Easily get shortlinks for pages⌉[

Easily get shortlinks for pages

[⌊Easily get shortlinks for a single page⌉⌊Easily get shortlinks for a single page⌉[

Easily get shortlinks for a single page

[⌊Easily get shortlinks for categories⌉⌊Easily get shortlinks for categories⌉[

Easily get shortlinks for categories

## Установка

 1. Upload the `shortlinks` folder into your plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Shortlinks» — проект с открытым исходным кодом. В развитие плагина внесли свой 
вклад следующие участники:

Участники

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

[Перевести «Shortlinks» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/shortlinks)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/shortlinks/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/shortlinks/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/shortlinks/) по [RSS](https://plugins.trac.wordpress.org/log/shortlinks/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 0.1

 * Initial version

## Мета

 *  Версия **0.1**
 *  Обновление: **16 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3 или выше **
 *  Совместим вплоть до: **3**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/shortlinks/)
 * Метки:
 * [category](https://ru.wordpress.org/plugins/tags/category/)[page](https://ru.wordpress.org/plugins/tags/page/)
   [pages](https://ru.wordpress.org/plugins/tags/pages/)[post](https://ru.wordpress.org/plugins/tags/post/)
   [posts](https://ru.wordpress.org/plugins/tags/posts/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/shortlinks/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=1)

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

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/shortlinks/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/shortlinks/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=aizat%2efaiz%40gmail%2ecom&lc=MY&item_name=Ezwan%20Aizat%20Bin%20Abdullah%20Faiz&item_number=Shortlinks&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)