Software, your way.
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

Extracting Dates From the Unix Timestamp

The UNIX timestamp can be used to determine the represented time for any time zone on Earth.

Submit Form Data Without Bothering User

To silently and effectively submit a form on a web page, Ajax with FormData() can be used.

CSS Dots

CSS dots can be used for interactions between web page and website user.

Email Testing

One thing to test when email doesn't get sent or doesn't arrive is whether the server actuall sends email.

Tap to Select

Find out how to make a link or button to select the content in a div or other HTML element.

Capitalizing the First Letter of Words

Here, find both PHP code and JavaScript code to capitalize the first letter of a word.

Fixed-position Table Header

During a vertical scroll, the table header scrolls out of view -- unless the header is fixed in position.

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-2024 Will Bontrager Software LLC