Introduction

The Short URL web part turns any web address into a short link without leaving SharePoint. Unlike the Short URL command, which works on documents and folders in a library, the web part accepts any address: a SharePoint page, a Teams link, a document stored elsewhere, or an external site.

Before you begin

Add the web part to a page

  1. Open the SharePoint page and click Edit.
  2. Click + (Add a new web part) at the place where you want the web part.
  3. Type Short URL in the search box and select the Short URL web part.
  4. Optionally click the Web Part Title area and type a title, for example Shorten a link.
  5. Click Publish (or Republish).

The Short URL web part

The Short URL web part

📝 Note
The Short URL web part can be added to a section of a modern page. It cannot be placed on a full-width app page and does not support the classic SharePoint pages.

  1. In Title, type an optional name for the link. It helps to recognize the link later in the Short URL Management web part.
  2. In Origin URL, enter the address that you want to shorten. The field is required; the placeholder shows the expected format, https://vitextra.com.
  3. In Domain, select the domain of the short link.
  4. In URL, type the short name. The field is required.
  5. Click Create.

The button shows a clock icon while the link is being created. When it is done, the message Save completed successfully. appears, and the Shortened URL field shows the new link with a copy icon.

A created short link

A created short link
  1. Click the copy icon. The word Copied appears briefly. Paste the link where you need it.

After the link is created, the Create button becomes Update. If you change the Origin URL, Domain or URL and click Update, the same link is changed; no new link is created.

❗ Important
The web part does not remember the link after you close or reload the page. To change or delete a link later, use the Short URL Management web part. See KB10474. How to Add and Configure the Short URL Management Web Part.

Messages

MessageMeaning
This field is requiredOrigin URL or URL is empty.
This name already exists. You must specify a unique name.The short name is taken. Choose another one. See KB10473. How to Choose a Domain and Customize the Short Name of a Link in Short URL Online.
The following error occurred: followed by a textThe Short URL service returned another error. Try again; if it persists, contact Vitextra support.

💡 Tip
To shorten a document or folder from a library, use the Short URL command instead; it fills in the address and the title for you. See KB10471. How to Create a Short Link for a Document or Folder in SharePoint Online.

Questions and answers

Ask a question about this article and get an official answer from our team.

No questions yet. Be the first to ask.

Featured Articles

Configuring Columns in List Filter Online: Captions, Formats and Display Options

How to pick the columns of a List Filter Online view, rename and reorder them, set the Resizable, Collapsible, Filterable, Can be sorted and Linked to item options, and choose a display format for date, lookup, person, thumbnail and image columns.

102 9 min
Choosing List, Tiles or Compact View in Folder Tree

Set the default Folder Tree view and let users switch between a document table, preview tiles and a compact list.

2 1 min
Discussions. Solution Overview

Vitextra Discussions is a discussion board and Q&A forum for modern SharePoint Online pages and Microsoft Teams. Learn what the two web parts do, how boards, topics and threaded replies work, where the data is stored, which permissions apply, and how the trial and licensing work.

48 8 min

Share