Short URL Script
This PHP site script enables you to setup and maintain a url shortening service. Try the demo here or buy now.
It comes with a full admin area for managing the site, 3 coloured templates, user registration & members area, easy advert integration and much more. See below for all the features.
Create Short Urls:
- Responsive layout - works on desktop, tablet and mobile.
- Users can enter multiple long urls and create shortened versions that redirect to the original.
- Users can enter a custom short url part.
- Set maximum short url uses option.
- Set expiry date option for urls.
- Password set option for urls.
- Detailed information page for each url.
- Delayed, top/bottom framed or direct redirects.
- QR codes auto-generated for all urls.
- Short url API. Create, manage and delete short urls programmatically via your existing website.
- Urls are checked against Google Safe Browsing & Phishtank for malware or phishing.
User Registration:
- User registration & members area. Users can create an account and manage all their short urls in one place.
Statistics:
- Short url statistics:
- Daily, weekly, monthly visits.
- Referring sites.
- Visiting countries.
- Visiting browsers.
- Visiting operating systems, including mobile OS.
Security:
- Urls are checked against Google Safe Browsing & Phishtank for malware or phishing.
- Optional captcha validation.
- IP blacklisting - ban users from either the whole site or just creating urls.
- Term blacklisting - ban certain terms or website urls from being used.
- Spam protection - Set minimum time between submissions.
- Spam protection - Set maximum urls a user can create per day.
- Report abuse pages & terms and conditions.
- Support for https.
- Externally tested for XXS and SQL injection attacks.
Social Network Sharing:
- Social networking icons to share short urls on Twitter, Facebook, Email & more.
- Bookmark shortcut to the site - add 'create short url' link to browser for any site.
- Bookmark shortcut to Twitter - shorten sites directly to Twitter.
Translations:
- Multiple language support.
- Manage any text content on the site via the admin area.
- Translation admin tools so the site can be used in most languages.
- Translation debugging tools.
Earn Money:
- Easy Ads - Use the admin interface to easily integrate your banner ads or Google Adsense code.
Admin Area:
- Admin area:
- Short url visits.
- Search urls.
- Disable urls.
- Manage admin users.
- Manage blocked IPs.
- Manage blocked terms.
- Admin dashboard overview page.
- Manage site settings.
- Set template.
- Set redirect type.
- Set banner ad/advert code.
- Modern Ajax interface.
- Redirect override so youtube/facebook urls work.
Customisations:
- Written in PHP5/MySQL.
- 100% full source code.
- Easy installation.
- Fully customisable.
- 12 different colours of the site theme to choose from. (easily customise and create new ones)
- Simple, clean, ajax style look and feel.
You can view the front-end live demonstration by clicking on the following link:
Front: http://gourl.us
The admin area live demonstration can be seen here:
Admin: http://gourl.us/admin/ (user: admin, pass: password)
Support:
All our scripts come with the following:
- Support via email for 1 year.
- Upgrades, patches, bug fixes for 1 year.
- Unlimited access to the support forum.
- Proactive release process.
- Contact us with any questions.
Script Requirements:
- PHP5+
- MySQL.
- Apache ModRewrite Module.
- Hosting Test Script - Use this free PHP script to check if your hosting meets the script requirements.
v3.0 - New Admin Area, New Theme, Mobile & Tablet Versions, New API
- Complete admin area rewrite.
- Brand new replacement theme set for the front-end.
- Responsive layout. Website resizes for use on mobile and tablet devices.
- Support for creating multiple short urls at the same time.
- Added plugin architecture for script add-ons.
- Your Urls page converted to load data via ajax to increase performance.
- Improvements to the speed of fetching favicons on 'your urls' page.
- Only show active urls on right-hand url listing throughout the site.
- Fix to expiry date option so it allows until mid-night to expire.
- Added check for malware & phishing urls via Google Safe Browsing & Phishtank.
- New API. Includes the ability to create, disable, activate, view info and list active urls using external applications. Responses in json or xml.
- Minor big fix to translations which occasionally displayed a database error when inserted new translated text.
- Added link to QR code after generating short url.
- Added link to admin area in footer when logged in as an admin user.
- Added short url statistics on the homepage.
- Added option in admin area to remove the terms checkbox when creating short url.
- Multiple language support. Added language bar in site footer so visitors can switch between different languages. Enable via the admin area.
- Added optional public or private setting when creating short urls. Default is private for logged in users and API generated urls.
- Added recent urls page to display public urls. Can be disabled via the admin area.
v2.3 - API Changes, User Area Tweaks & Minor Bug Fixes
- Removed database password from displaying if there's an error with database connectivity.
- Added secure phpinfo page within admin area to aid with debugging.
- Removed admin area navigation if not logged in.
- Improved admin login form style.
- Fix to custom short url bug when expiry date selected.
- Added option to use account key on API requests so short urls are added to an account.
- Option to only permit API requests for registered accounts within admin area.
- Added account settings page - change email address, account password, regenerate API key.
- Added url status filter to url management page for users. Default view set to active.
v2.2 - Captcha!
- Added optional captcha confirmation on create short url. Integrated with reCaptcha. Go via admin settings to enable.
- Added QR code for each url. Available by adding ~q to the end of any url.
- Formatting improvements to the short url confirmation page.
- Added preview option for each short url. Add ~p onto the end of any url to view the original url.
- Added support for https.
- Admin option to enable or disable API functionality.
- Fixed advert config encoding issue within admin area.
- Minor bug fix to double click 'edit user' within admin area.
- Replaced share buttons with 'addthis'.
- Direct redirect option on short urls now outputs 301 header instead of 200.
v2.1 - Redirect Override Redirect override functionality. Within the admin area control which sites get directly redirected rather than loading within an iframe. Resolves youtube/facebook redirection issues.
v2.03 - Bug Fix Fix for incorrect constant value on expireOldUrls() function call. In some instances/configuration urls could expire incorrectly.
v2.02 - Bug Fix Fix to 'unknown' translation error on stats pages.
v2.01 - Bug Fix Fix to correctly expire urls which haven't been accessed recently.
v2.0 - User Registration! Users can now register for an account in order to manage their urls, view stats and share their links.
v1.61 - Twitter API Minor bug fix to 'post to Twitter' functionality. Twitter removed support for the 'status=' method. Replaced with 'intent' API.
v1.6 - Short Url Stats The ability to view detailed stats on each short url.
v1.4 - Custom API API released which allows for third party scripts/websites to integrate directly with the script. Minor bug fixes.
v1.2 - Language Translation Admin area and libraries to manage different languages. You can now set/add the site language within the site config and translate any content via the admin area. Translated content is visible both front-end and within admin. Other minor translation debugging tools added.
v1.0 - Initial Release Script initially released for purchase & download on MFScripts.com.
Purchase Script:
- Total cost: $39.00. [buy now]
- No recurring costs. One off payment.
- No extra costs to remove copyright links.
- Payment made securely using https via PayPal.
- Optional script installation at $39.00 with free web hosting.
Purchase with Hosting & Free Installation:
- Total cost: $68.00. [buy now]
- Hosting for 1 year. 1GB space, unlimited bandwidth, cPanel, email accounts, ftp access and more.
- Free installation within 24 hours.
- Simple and straight forward to get up and running.
- Supply your own domain name or contact us to arrange one.
















