YOURLS (Your Own URL Shortener) is an open-source PHP application that lets you run a custom URL shortening service on your own web server. For those interested in getting started, feel free to refer to my previous guide, “How to Install and Configure the Self-Hosted YOURLS Server Suite”, which walks you through setting up this streamlined short URL service from scratch.

Today, we take a look at the release of version 1.7.2. If you already have an existing instance running, this guide will walk you through the upgrade procedure.

YOURLS 1.7.2 primarily focuses on minor refinements and bug fixes over version 1.7.1, without introducing major new features. If your current deployment is running smoothly, upgrading is optional; staying on your current version will not disrupt day-to-day operations. However, updating is straightforward and quick.

Shorten-Shrink-URL-Service-Interface-of-YourlsYOURLS Admin Management Interface.

How to Upgrade YOURLS

Upgrading YOURLS requires manual intervention, meaning you need administrative file management access to your Linux server. You can connect via FTP, SFTP, VsFTP, SSH, or through the cPanel File Manager.

Once you navigate to the root directory of your existing YOURLS deployment, simply overwrite the old files with the extracted contents of the 1.7.2 release.

  • Official release archive URL: https://github.com/YOURLS/YOURLS/archive/1.7.2.tar.gz

If you are managing your Linux server through an SSH terminal, you can review the command reference in “Essential and Advanced Linux Commands Guide”, which details all the shell utilities needed for this process (such as wget, tar, and cp). The standard command-line workflow is as follows:

  1. Create a temporary folder inside your YOURLS installation directory (mkdir temp);
  2. Download the release archive inside that folder (wget);
  3. Unpack the tarball archive (tar -zxvf 1.7.2.tar.gz);
  4. Copy all unpacked files back to the parent directory, overwriting existing files (cp -rf);

Finally, open your browser and navigate to http://yourdomain.com/admin/ (or your configured subdirectory path) to complete the automated database schema update. You are now running the latest version of your personal YOURLS redirection service!

✦ Independent Journalism · Reader Support ✦

Support Independent Perspectives & In-Depth Insights

Every thoughtful analysis and candid critique comes from our dedication to truth and quality. We choose not to follow sensational algorithms or clickbait headlines.

Sustaining independent research requires reader support. Make a one-time or monthly contribution, securely processed by Google.

Payments secured by Google · Manage or cancel anytime in your Google Account