Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

ShortURL

Descrição

The ShortURL plugin allows you to use your blog as your own URL shorterning service by implementing the Short URL Auto-Discovery specification. Your short URLs will be in the form of http://domain/-code.

The auto-discovery feature allows third-party services that honor it to use your own short URLs instead of generating new ones using services such as TinyURL, bit.ly, and others. This gives your posts and pages canonical short URLs that give you all SEO benefits and don’t leak traffic out to external domains and will prevent linkrot. The homepage short URLs is set to just http://domain/ as a unique feature.

The other great benefit of the ShortURL plugin is that the generated short URLs won’t break if you change the permalink structure of your blog or rename the slug of a particular post or page.

Due to the recent choice of both the Microformats community and WordPress.com to use rel="shortlink" vs the alternative proposals, the ShortURL plugin is also using it now.

More on the topic:

To Do

Instalação

  1. Upload shorturl.zip to the /wp-content/plugins/ directory
  2. Unzip the archive
  3. Activate the plugin through the ‘Plugins’ menu in WordPress Admin
  4. Update the settings

Perguntas frequentes

Why did you choose Short URL vs RevCanonical or shortlink specifications?

RevCanonical is not supported by HTML 5 and it seems that Short URL is getting wider support by big blogs such as Ars Technica and other sites such as PHP. We will closely monitor the developments and implement the winning specification.

Are you planning to provide third-party URL shorteners?

Yes, in the near future. Actually, third-party providers are already supported by the Short URL custom field, but it’s not automatic and you have to shorten the URLs manually.

Are you planning to support alternative domains for short URLs?

Yes and this will also eliminate the dash in the URLs.

Will you add support for custom short URL patterns?

Yes. The dash-based one will continue to be the default one though.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“ShortURL” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

0.4.2

  • Minor plugin info cleanup

0.4.1

  • Minor plugin info cleanup

0.4

  • Added [shorturl] shortcode
  • Added the_shorturl() and get_shorturl() functions for use in themes
  • Switched to rel="shortlink" similarly to WP.me

0.3

  • Replaced the tilde (~) with dash (-) in the short URLs similarly to FriendFeed & Ginx, but the tilde is still supported for backward compatibility

0.2

  • Added a short URL for the homepage

0.1.1

  • Fixed a versioning issue

0.1

  • First release. Yay!