Ana Sayfa / Kod ve Scriptler / Shortty - Simple URL Shortener PHP Script
Shortty - Simple URL Shortener PHP Script
Shorty, PHP ile yapılmış flat-file, süper hızlı, uzun URL'yi kısa URL'ye dönüştüren bir kısaltma betiğidir. Taşınabilir, kolayca özelleştirilebilir.
- Yayın tarihi21 Kasım 2021
- Nerede çalışırPHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0
- Paket içeriği.php, .css, .html, JavaScript .js
- Son güncelleme21 Kasım 2021
- Canlı demoVar

Overview
Shortty - Simple URL Shortener PHP Script is the perfect way to shorten your long URLs using your domain, sub-domain, or custom directory like your-website.com/go.
Relying on third-party URL Shortener services can be dangerous for your business. Simply because you have no full control over your links and data.
Sometimes such service can go down, change their service plans to non-free (or introduce limits) so your permalinks are in danger and may become unavailable for your clients and partners. You can avoid this by using a simple solution - your URL Shortener script.
Shorty is a flat-file, super-fast, fully compatible with "PHP 7.xx" and "PHP 8.xx", long URL to short URL script made in PHP. It is a very easy-to-use, highly portable script and you can customize it easily and so be in control of your links.
Whether you want to use it as a personal project or a commercial one (to make money from ads) this script is a perfect choice for your better control over links!
You don't need to rely on third-party services if you need a simple yet reliable tool for your links. With your URL shortener, you are in control of your links and you can always modify the final destination of your short links.
The Shortty URL Shortener PHP script requires the effortless installation and you will be able to deploy it within minutes.
DEMO
Front-end Demo:
- Try Shortty front-end: https://stty.xyz
- Try Shortened URL: https://stty.xyz/goo
- Try Link Counter: https://stty.xyz/goo+
- Try Link Counter (plain): https://stty.xyz/goo++
Administration Demo:
- Admin URL: https://stty.xyz/admin
- Admin Username: admin
- Admin Password: demo123
REQUIREMENTS
- Shared or VPS hosting
- Apache Web Server
- Apache Mod_Rewrite enabled
- PHP 7.x or PHP 8.x
DEPLOYMENT (INSTALL)
- Upload everything from folder Upload to your server (using an FTP program or your hosting file manager)
- Go to https://your-site.com/admin (default login: admin / default password: demo123)
- Edit site_url parameter to your own Shortty URL location (like https://go.site.com)
- Done! (you can customize a few more things if you want, like setting a password for shortening URLs, social media, etc.)
SECURE YOUR ADMIN AREA
Before (or after) uploading all files to your server, edit the file your_install_directory/inc/config.php and change the variable values for $admin_username and $admin_password
"your_install_directory" - this is the path on your server where you uploaded all the script files.
You can edit the config.php file with any text editor of your choice like default Windows Notepad, Notepad++, Sublime Text, VS Code, etc.
SUGGESTIONS
Hosting providers (paid):
- Hetzner (cheap and reliable Shared hosting and VPS)
- Vultr (cheap and reliable VPS)
- Virmach (very cheap and reliable VPS)
Hosting providers (free):
Domains (free and paid):
- Freenom.com (free .ml, .tk, .ga top-level domains)
- InfinityFree (free subdomains like sho.rf.gd)
- Namecheap ($0.99 Domains)
Notes:
This script is intended to be used for personal and business websites with a moderate amount of visitors. For large websites (i.e. millions of visitors per month) it is recommended to use an alternative script that stores links in a database i.e. MYSQL.
Features
- Lightweight and Fast
- Flat-file (URLs stored in files)
- Portable and dependence less
- Easy to deploy (in minutes)
- No installation required
- No database required
- PHP 7.x and 8.x ready (fast)
- Responsive design
- Simplified administration
- Link counter in page (Enable / Disable)
- Link counter in plain text (shows the clicks only, can be Enabled / Disabled)
- Show QR-Code for shortened URL
- Social share shortened URL (Enable / Disable)
- Links manager to browse/change short URLs and clicks
- Social Accounts in the footer (Enable / Disable)
- Additional Pages (Opens in Modal, can be Enabled/ Disabled)
- Speed and Cache Optimized
- Advertising banner (for Monetization, can be Enabled / Disabled)
- Easy Google Analytics integration (just add your Universal Analytics ID)
- Deployment instructions included
- Relevant support (including installation)
Benzer ürünler

Bağlı kuruluş, otomatik silme, şifre korumalı bağlantılar ve QR kod oluşturucu gibi gelişmiş modüllere sahip URL kısaltma betiği.
Yayın: Şubat 2025
PHP ve MySQL ile Arka Uçlu yazılmış basit URL Kısaltıcı Betiği
Yayın: Şubat 2017
Eksiksiz URL kısaltıcı SaaS: analiz, QR kodları, API, Stripe abonelikleri, SMTP e-postaları. 3 katmanlı fiyatlandırmayla satışa hazır.
Yayın: Ocak 2026
QR kod oluşturucu, bağlantı analizleri ve kolay, hızlı, güvenli yönetim sistemi içeren modern PHP URL kısaltıcı betiği.
Yayın: Ağustos 2025
Birden çok bağlantıyı tek kısa URL ile paylaşın, tıklamaları izleyin ve koleksiyonlarınızı LinksPetti ile kolayca yönetin — eksiksiz bir SaaS çözümü.
Yayın: Mayıs 2025
sURL, alternatif kısa URL'ler oluşturmak için kullanılan bir web uygulamasıdır.
Yayın: Şubat 2020