GoGovKh Guide
Officail website
  • Introduction
  • GUIDE
    • Basics
    • File Sharing
    • Directory
    • Bulk Link Creation
  • DEVELOPER GUIDE
    • API Documentation
  • LEGAL
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • How do I bulk create shortlinks on GoGovKH?
  • How should I format my CSV file?
  • Why did my bulk link creation attempt fail?
  • How do I delete empty rows in my CSV file?
  1. GUIDE

Bulk Link Creation

PreviousDirectoryNextAPI Documentation

Last updated 1 year ago

Our bulk link creation feature allows users to create up to 1000 shortlinks at once with the upload of a single .csv file!

How do I bulk create shortlinks on GoGovKH?

  1. When creating a new shortlink, you will see a new option to create shortlinks from a .csv file

  1. Download the template .csv file (to ensure that the file is formatted correctly for upload)

  1. Upon opening the .csv template file, you should see something like this

  1. Fill up the file with the original links you wish to shorten & save the file.

    • Note: Ensure to save the file in the original .csv file format, if not the file will not be available for selection for upload in the next step

  2. Click on “Browse” and select the file you saved in the previous step

    • Optional: You can add up to 3 tags if you wish to categories shortlinks created from this .csv file. Tags will be applied to all links in the .csv file.

  3. Click on “Create” and you should see a success pop-up at the top of your screen indicating how many shortlinks were successfully created from your .csv file

How should I format my CSV file?

In order for successful bulk creation of links, the uploaded .csv file should be formatted properly.

Here are some checks to ensure your file is ready for uploading:

  • Uploaded file must be .csv file (e.g. .xlsx, pdf, .docx files are not accepted)

  • File must not contain more than 1000 links

  • Header row in the file should follow original header in template format exactly, ie. “Original links to be shortened”

  • No additional columns should be added to the file (eg. user should not insert more headers/columns like ‘preferred shortURL’)

  • File should not contain any empty rows

Why did my bulk link creation attempt fail?

There are several reasons why your attempt to bulk create links could have failed:

  • File contains more than 1000 links

  • Header row does not follow original header in template

  • More than 1 column in your csv file

  • Empty rows in your .csv file

  • Invalid original link, eg.

    • Broken links due to spacing issues

    • Links start with http:// instead of https://

How do I delete empty rows in my CSV file?

  1. Open your file in your Notepad app (for Windows) or TextEdit app (for Mac)

  1. Delete the empty rows like so:

  1. Press Ctrl+S (for Windows) or Cmd+S (for Mac) to save your edited CSV file and re-attempt bulk link creation.

Original links in file should all be valid (eg. )

https://dgc.gov.kh