[wordpress插件] Base64 ShortlinksBase64短链接

wordpress 插件 文章 2020-02-29 13:50 542 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The default WordPress “shortlink” URLs look like this: http://www.example.com/blog/?p=123, where “123” is

默认的WordPress“短链接” URL如下所示: http://www.example.com/blog/?p=123 ,其中“ 123 ”为

actually a 7+ digit decimal number.

实际上是7位数以上的十进制数字。

This plugin shrinks your shortlinks by encoding that number into only 4 characters, and using the abbreviated URL prefix of your choice.

该插件通过将该数字编码为仅4个字符并使用您选择的缩写URL前缀来缩小您的短链接。

On my site, the default shortlinks are 35 bytes long, even though I have a very short domain name.

在我的网站上,即使我的域名非常短,默认的短链接也只有35个字节。

This plugin shrinks them to 21 total bytes, which is comparable to most public URL-shortener services, and better than many.

此插件会将其压缩为21个总字节,与大多数公共URL缩短程序服务相当,并且比许多服务更好。

E.g., this: http://www.jwz.org/blog/?p=13240780

例如,此: http://www.jwz.org/blog/?p=13240780

becomes: http://jwz.org/b/ygnM

变为: http://jwz.org/b/ygnM

This doesn’t affect your (long) permalinks: those can still be in whatever format you like.

这不会影响您的(长)永久链接:它们仍然可以采用您喜欢的任何格式。

安装步骤

    1. Upload the base64-shortlinks directory to your /wp-content/plugins/ directory.
    2. base64-shortlinks 目录上传到您的 / wp-content / plugins / 目录。

    3. Activate the plugin through the “Plugins” menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Select the “Base64 Shortlinks” menu under “Settings” and enter your Shortlink URL Prefix.
    6. 在“设置”下选择“ Base64短链接”菜单,然后输入您的短链接URL前缀。

下载地址
https://downloads.wordpress.org/plugin/base64-shortlinks.1.4.zip
-EOF-

AI助手支持GPT4.0