burger menu icon
WillMaster

WillMasterBlog > Tips and Tricks

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

Fast URL Shortening With Short URL V2

With Short URL V2, a form like this can be on any of your web pages. The resulting short URL is of your domain, like http://YourDomain.com/go/booksale

URL to shorten:

Alias request (optional):

Implementation instructions are in the manual built into the Short URL V2 control panel, in the "Fast Paste 'n Click" section.

How To Implement The Fast URL Shortening

The Fast Paste 'n Click feature is on a PHP web page you set up.

To keep the public from accessing the page and using your implementation to create their own short URLs, put the page into a password protected directory. Once logged into the directory, the page is accessible by you from any bookmark or by clicking a link on your personal portal page.

Click here for information about how to password protect a directory.

The Fast Paste 'n Click page needs 3 things:

  1. Some PHP code -

    The manual in the control panel has the PHP code you can copy. Two places need to be customized.

    1. The Fast Paste 'n Click key

      This key was optionally provided when Short URL V2 was installed. This works similar to a password except you don't have to type it in every time you use the form.

      The manual shows how to obtain the key (if you have forgotten it) and how to assign a key (if it isn't already assigned).

    2. A URL

      The URL to a certain Short URL V2 script needs to be specified. The manual has particulars.

  2. The form -

    The manual provides the code. Copy it and paste it into the web page where you want the form to be published.

  3. A spot to print the short URL for copying -

    This can be another form (with the short URL in the field) or the short URL can be printed right on the web page.

    The manual contains copy and paste code.

It is easy to have your own personal fast URL shortening service.

Will Bontrager

Was this blog post helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method


All information in WillMaster Blog articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

Recent Articles in the Library

Beacon

Send a beacon to your script. Optionally, also send information.

Digging for an IP Address

While an app's IP address can always be found in the REMOTE_ADDR value, the value might not be the actual destination of the content retrieved from your website.

Simple CSS Rotate

Rotate divs, tables, and even characters. Specify the number of degrees or fraction of a turn, and you're good to go.

Avoid Expired SSL Certificate

Check the expiration date of your domain's SSL certificate

Image Zoom on Hover

Zoom the image with a hover. CSS. No JavaScript.

The INS and DEL Tags

The INS and DEL tags come in mighty handy to display editing marks and to emphasize ideas with HTML markup.

Viewing HTML Source Code

Three ways to view HTML source code.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2026 Will Bontrager Software LLC