View Categories

How to Import Short Links Using CSV File in BetterLinks?

2 min read

BetterLinks allows you to easily import custom links in bulk using a CSV file, saving you time and effort when managing your link redirects. Whether you’re organizing existing links or setting up a new batch, this guide will walk you through the entire process.

Guide to Import Short Links Using CSV File in BetterLinks? #

With BetterLinks, you can create different types of links based on your needs, like shortened links, dynamic redirects (geolocation, time-based, rotation), UTM links, etc. This lets you generate a custom CSV structure that matches the link types and settings you use.

Follow the steps below to import short links into your WordPress site using BetterLinks.

Step 1: Create Links for Custom CSV #

First, from your WordPress dashboard, go to ‘BetterLinks’ → ‘Manage Links.’ Now it’s time to create new links with BetterLinks. You can do this in two ways: either click the ‘Add New Link’ button or use the plus (+) icon under a specific category.

How to Import Short Links Using CSV File in BetterLinks?

Fill in the ‘Title’ and ‘Target URL’, then click ‘Publish’ to create the link. You can further customize your link settings using the options available on the right-side panel. These include:

  • Link Options – Configure basic settings for your link.
  • Advanced – Access additional controls for enhanced customization.
  • Dynamic Redirects – Set up conditional redirects based on specific rules.
  • Customize Link Preview – Modify how your link appears when shared on social platforms.

These settings allow you to tailor each link according to your specific needs.For more details on creating links, refer to this documentation.

Create Links for Custom CSV

Step 2: Export Your Links #

Navigate to the ‘Tools’ section under BetterLinks. In the ‘Export’ tab, select the appropriate option from the “Choose an Option You Want to Export”  (ensure you’re selecting the ‘Links’ from the options). Click ‘Export File’ to download the CSV.

Export Your Links

Step 3: Customize the Exported CSV #

Open the downloaded CSV file using ‘Microsoft Excel’, ‘Google Sheets’ or any spreadsheet tool of your choice. Locate the link(s) you recently created. 

Note: If you’ve created several links before, the most recent ones will appear at the bottom of the file. However, if you’re creating a link for the first time, it will show up at the top of the spreadsheet.

Customize the Exported CSV

Edit or customize the links as needed (e.g., change URLs, titles, or slugs). Save the updated file in .csv format.

Edit or Customize the Link

The three required fields are:

BetterLinks FieldWhat It StoresExample
Link Title (link_title)A name to identify the link in your dashboardSpring Sale
Short URL Slug (link_slug)The short path visitors will usego/spring-sale
Target URL (target_url)Where visitors land when they clickhttps://example.com/spring

Note: The short link you customize in the CSV must have a unique ID. Use an incremented value for each URL, no duplicate IDs allowed.

Step 4: Import the Customized CSV with Field Mapping #

Return to the ‘Tools’ section in BetterLinks and go to the ‘Import’ tab.

Return to the 'Tools' section in BetterLinks and go to the 'Import' tab.

Choose the customized CSV file you saved earlier and upload it.

Choose the customized CSV file you saved earlier and upload it.

Once your file is uploaded, the Map CSV Columns window opens. This is where BetterLinks matches each column in your CSV to the correct BetterLinks field.

Once your file is uploaded, the Map CSV Columns window opens.

BetterLinks automatically matches the columns it recognizes. If any required field still needs your input, you’ll see a short notice at the top of the window telling you which one.

To map additional details, click ‘Optional’ to expand the full list (such as Redirect Type, Tags, Categories, Expiry, and more).

To map additional details, click 'Optional' to expand the full list

Once all required fields are matched, click ‘Continue Import’ to begin. All links from the CSV file will now be imported into your BetterLinks database.

Simply open the dropdown next to that field and select the matching column from your CSV. And click Continue Import.

Note: Optional fields are auto-matched from your CSV when possible. Any field left unmatched will use the default value shown in parentheses, and you can update it anytime after import.

After successfully importing your CSV, you’ll see the ‘Import Completed Successfully’ message. Just tap ‘Finish’ to close the popup.

How to Import Short Links Using CSV File in BetterLinks?

Final Outcome #

To confirm your links were imported successfully, go to ‘BetterLinks’ → ‘Manage Links.’ You will see your customized links listed and ready to use.

Final Outcome

That’s it! You’ve successfully imported a custom CSV file into BetterLinks. Need help? Feel free to reach out to our Support Team for assistance anytime.

Powered by BetterDocs

  • 00Days
  • 00Hours
  • 00Mins
  • 00Secs

Wait!

Optimize every link with

AI-powered automation features