GoshLinks Pro can import from a YOURLS database on the same server/site environment.
Before You Start
You need access to the YOURLS database details.
You will need:
- YOURLS DB Host
- YOURLS DB Name
- YOURLS DB User
- YOURLS DB Password
- YOURLS Links Table
- YOURLS Log Table, if importing click data
Step 1: Open YOURLS Import
- Go to GoshLinks > Settings > Import.
- Open the YOURLS Import accordion.
- Choose that YOURLS is installed on this site.
Step 2: Enter Database Details
Enter the database details exactly as they are configured for YOURLS.
The default table names are usually:
- yourls_url for links.
- yourls_log for click data.
Step 3: Choose Link Import Mode
Choose whether to replace all links, only import new unique links, or overwrite matching slugs.
Step 4: Choose Click Data Options
If you want historical YOURLS click data, select the click data options and make sure the log table name is entered.
Step 5: Run the Import
Click Run YOURLS Import. GoshLinks checks the YOURLS tables and imports in batches where needed.
Tip
Run a GoshLinks export before importing from YOURLS if the site already has important links or stats.