Making Your Own URL Shortening Service
-
Upload
bob-hazlett -
Category
Technology
-
view
3.340 -
download
8
description
Transcript of Making Your Own URL Shortening Service
![Page 1: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/1.jpg)
It’s a Small URL After All
Bob Hazlett - @OneHalfAmazingDaniel Pritchett - @DPritchett
![Page 2: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/2.jpg)
A World of...
Laughter (funny how easy this is)
Tears (avoiding pitfalls)
Hopes (that this turns out awesome)
Fear (that you’ll mess something up)
Something to share (bragging to your buddies)
![Page 3: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/3.jpg)
Why do something like this anyway?
BrandingStability & ControlMore customizationBuilt-in StatsPluginsDarn Cool
![Page 4: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/4.jpg)
Supplies Needed
Domain Host Access to your files (FTP)Text Editor Download Yourls package
![Page 5: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/5.jpg)
Picking a domain
![Page 6: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/6.jpg)
Get your host onHosted
PHP 4.3 and MySQL 4.1 with “mod_rewrite” enabled
Mainstream packages from 1and1, DreamHost or GoDaddy will do
DIY ServerLAMP on Linux
WAMP on Windows
MAMP on Mac
![Page 7: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/7.jpg)
Download YourlsYourls 1.4 available at yourls.org
Private or PublicCustomize your linksBookmarkletIntegrated StatsWordpress PluginOpen Source
![Page 8: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/8.jpg)
Set up your database
![Page 9: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/9.jpg)
Configure one fileYourls.zip > Includes > Config-sample.php
![Page 10: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/10.jpg)
Fill in a little info
> http://mysql.domain.com> database name setup earlier
![Page 11: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/11.jpg)
Just a bit more
> http://domain.com
> set up users
![Page 12: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/12.jpg)
Save file as config.php
![Page 13: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/13.jpg)
FTP files to serverYourls unzipped and configured package > FTP client > hostFTP clients
CyberDuck or Transmit (Mac)FireFTP (firefox add-on)WinSCP (Windows)
![Page 14: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/14.jpg)
.htaccess fileIf installing on same domain as WordPress
Must be in different directory
Warning! Danger!
![Page 15: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/15.jpg)
Finally Installed
![Page 16: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/16.jpg)
Start making babies
![Page 17: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/17.jpg)
Expand your world
![Page 18: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/18.jpg)
I got stats
![Page 19: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/19.jpg)
WordPress Plugin to Twitter
Generate short URLs for each new post or pageAuto tweet on your behalf as you publish new contenthttp://bhaze.com/5
![Page 20: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/20.jpg)
Setting up on Tweetie 2
http://DOMAIN.com/yourls-api.php?username=MyUSERNAME&password=MYPASSWORD&action=shorturl&format=simple&url=%@
![Page 21: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/21.jpg)
Hey, Cool Guy
![Page 22: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/22.jpg)
Other ToolsBrowser Bookmarklet
Generates short URL from page you’re currently viewingSimple or Advanced, just drag to browser toolbar
WordPress Sidebar WidgetOffer shortening service to your users
![Page 23: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/23.jpg)
Questions
Daniel Pritchett SharingAtWork.com
Bob HazlettOneHalfAmazing.com
![Page 24: Making Your Own URL Shortening Service](https://reader034.fdocuments.in/reader034/viewer/2022052301/5554ebb9b4c90566278b4c82/html5/thumbnails/24.jpg)
Other Resources
Yourls.orgScreener.com/nTsDomai.nr and MakeWords.comLifehacker article - bhaze.com/3