Difference between revisions of "Network/URL Shortener"

From Makers Local 256
Jump to: navigation, search
(create page about url shortener)
 
(add ownCloud information.)
 
Line 1: Line 1:
The URL shortener has three modes of operation.
+
The URL shortener has several modes of operation.
  
 
* URL is like this: http://ml256.org/w320
 
* URL is like this: http://ml256.org/w320
Line 9: Line 9:
 
** WordPress will then rewrite that URL to the "pretty URL" and take you to the right article.
 
** WordPress will then rewrite that URL to the "pretty URL" and take you to the right article.
 
** To find the short URL for a blog post, look under the title of the blog post. You can copy the short URL to your clipboard from there.
 
** To find the short URL for a blog post, look under the title of the blog post. You can copy the short URL to your clipboard from there.
 +
* URL is like this: http://ml256.org/o?OKijAW
 +
** This will result in a redirect to this URL: https://256.makerslocal.org/owncloud/index.php/apps/shorten/code.php?code=OKijAW
 +
** The ownCloud Shorten plugin will then return the file that was shared by the user.
 +
** All new shares from ownCloud use short URLs. If a file was shared before this plugin was installed, it will still have a long URL.
 
* URL is anything else on ml256.org (something that doesn't start with a w or a b)
 
* URL is anything else on ml256.org (something that doesn't start with a w or a b)
 
** This results in a redirect to the ML256 homepage.
 
** This results in a redirect to the ML256 homepage.
 
** Maybe we can make a service for members out of this later.
 
** Maybe we can make a service for members out of this later.

Latest revision as of 13:51, 27 April 2016

The URL shortener has several modes of operation.

  • URL is like this: http://ml256.org/w320
  • URL is like this: http://ml256.org/b4750
    • This will result in a redirect to this URL: https://256.makerslocal.org/?p=4750
    • WordPress will then rewrite that URL to the "pretty URL" and take you to the right article.
    • To find the short URL for a blog post, look under the title of the blog post. You can copy the short URL to your clipboard from there.
  • URL is like this: http://ml256.org/o?OKijAW
  • URL is anything else on ml256.org (something that doesn't start with a w or a b)
    • This results in a redirect to the ML256 homepage.
    • Maybe we can make a service for members out of this later.