Documentation

YOURLS Exporter Plugin Does Not Download a File

Fix common YOURLS exporter download issues, including expired links and JSON showing in the browser.

YOURLS Exporter Plugin Does Not Download a File

The GoshLinks YOURLS exporter plugin should download a JSON file that can be imported into GoshLinks.

Confirm the Plugin Is Active in YOURLS

  1. Log in to the YOURLS admin area.
  2. Open Manage Plugins.
  3. Make sure GoshLinks Exporter is active.

Use the Exporter Page

After activation, a GoshLinks Exporter link should appear under the Manage Plugins area.

Open that page, choose whether to include click data, then click Download.

If JSON Shows on the Screen

If the JSON appears in the browser instead of downloading, save the page content as a .json file, or try a different browser. The content is still the export data if it is valid JSON.

If You See "Unauthorized action or expired link"

Reload the exporter page and click Download again. YOURLS security tokens can expire if the page has been open too long.

If You See a Server Error

Check the YOURLS site error logs. Some YOURLS installations show a server error after plugin activation or deactivation even though the plugin action succeeds.

Common Causes

  • The YOURLS exporter plugin was uploaded to the wrong folder.
  • The plugin was not extracted inside the YOURLS user/plugins folder.
  • The exporter page token expired.
  • The browser displays JSON instead of downloading it.
  • The YOURLS installation has a plugin activation page issue unrelated to the exporter.