YOURLS-Upload-and-Shorten

Usage Guide

Step-by-step instructions for using the Upload and Shorten Advanced plugin.

Admin Upload

Upload files through the admin panel with full control over settings.

Steps

  1. Go to Admin Panel → Upload & Shorten
  2. Click “Choose File” or drag and drop a file into the upload area
  3. Optionally customize the following:
    • Custom Short URL - Choose your own short URL keyword
    • Title - Add a descriptive title for the file
    • Storage Location - Select where to store the file
    • Expiration - Set when the file should be deleted
  4. Click “Upload & Create Short URL”
  5. Your short URL will be generated instantly
  6. Copy the URL to share with others

Upload Options

Frontend Upload

Allow public users to upload files through your YOURLS frontend.

Enabling Frontend Uploads

  1. Go to Admin Panel → Upload Settings
  2. Set “Enable Frontend Uploads” to “Yes”
  3. Configure frontend-specific settings:
    • Maximum file size for public uploads
    • Allowed file types for public users
    • Rate limiting settings
  4. Save settings

Using Frontend Upload

  1. Visit your YOURLS homepage
  2. Look for the “Upload & Shorten File” section
  3. Select a file to upload
  4. Optionally add a custom short URL (if enabled)
  5. Click “Upload & Shorten”
  6. Copy the generated short URL
  7. Share the link with others

Public Upload Interface Beautiful public upload interface with file guidelines and easy-to-use controls

Frontend Features

File Management

Manage all your uploaded files from the admin panel.

Viewing Files

  1. Go to Admin Panel → Uploaded Files
  2. Browse your file list with:
    • File name and type
    • Upload date
    • File size
    • Short URL
    • Download count
    • Expiration date

File Management Manage all your uploaded files with detailed statistics and easy controls

File Actions

Available actions for each file:

Bulk Operations

Manage multiple files at once:

  1. Select files using checkboxes
  2. Choose bulk action:
    • Delete selected files
    • Extend expiration for all
    • Download selected files (as archive)
    • Change storage location
  3. Confirm action
  4. Files are processed in batch

Find files quickly using:

Download Tracking

Track how your files are being accessed.

Statistics Available

For each uploaded file, you can view:

Accessing Statistics

  1. Go to Admin Panel → Uploaded Files
  2. Click “Stats” next to any file
  3. View detailed analytics:
    • Daily/weekly/monthly downloads
    • Top referrers
    • Geographic distribution
    • Access patterns

YOURLS Integration

File downloads are tracked through YOURLS analytics system:

Working with Short URLs

The plugin generates standard YOURLS short URLs with additional features.

URL Format

Short URLs follow your YOURLS configuration:

https://yourls.example.com/abc123

Custom Keywords

Choose memorable keywords:

  1. During upload, enter desired keyword in “Custom Short URL” field
  2. Plugin validates keyword availability
  3. If available, your custom URL is created
  4. If taken, you’ll be prompted to choose another

URL Management

Manage short URLs like any YOURLS link:

Best Practices

For Administrators

For File Sharing

For Public Uploads

Common Workflows

Workflow 1: Quick File Sharing

  1. Navigate to Upload & Shorten page
  2. Drag and drop file
  3. Click upload
  4. Copy and share URL

Workflow 2: Organized File Management

  1. Create multiple storage locations for different purposes
  2. Upload files to appropriate locations
  3. Use descriptive titles and custom keywords
  4. Set expiration dates based on use case
  5. Monitor and clean up regularly

Workflow 3: Public File Distribution

  1. Enable frontend uploads with restrictions
  2. Set moderate size limits
  3. Enable rate limiting
  4. Monitor uploads in admin panel
  5. Remove inappropriate content promptly

Next Steps

Back to Guides

← Back to Documentation Index