Tutorial: Enable DOIs with CrossRef
Role: Journal Manager
Time: 30โ60 minutes
OJS Version: 3.5+
This tutorial walks you through enabling the DOI identifier plugin in OJS 3.5+, configuring your CrossRef credentials, and registering DOIs for articles and issues.
Before You Startโ
- Your journal is a CrossRef member (or sponsored member). Sign up at crossref.org.
- You have your CrossRef depositor name, depositor email, and account password.
- Your journal has a confirmed ISSN (print and/or online).
- You are logged in as Journal Manager.
You can still assign DOIs locally without registering them with CrossRef. However, DOIs will not resolve until you register. CrossRef membership costs start at $275/year for independent publishers (2025 rates).
Step 1 โ Enable the DOI Pluginโ
- Navigate to Settings โ Website โ Plugins.
- Click the Installed Plugins tab.
- Find DOI in the list (under the Public Identifier Plugins category).
- Toggle the switch to Enabled.
- Click the Settings link next to the DOI plugin.
Step 2 โ Configure DOI Settingsโ
In the DOI plugin settings:
Enable for Content Typesโ
Tick the content types you want to assign DOIs to:
- Articles
- Issues (optional, but recommended)
- Galleys (typically not required unless publisher policy mandates it)
DOI Prefixโ
Enter your CrossRef-assigned DOI prefix, e.g.:
10.12345
Every DOI you register will begin with this prefix.
DOI Suffix Patternโ
Choose how the suffix (unique part) is generated:
| Pattern | Example DOI | Notes |
|---|---|---|
%j.v%vi%i%a | 10.12345/jor.v14i2.123 | Journal + volume + issue + submission ID |
%j.%Y%m.%a | 10.12345/jor.202501.123 | Journal + year + month + submission ID |
| Custom pattern | Your own format | Use %j, %a, %v, %i, %Y, %m tokens |
Click the pattern token reference in the settings page to see all available tokens.
Assign DOIsโ
Choose when DOIs are assigned:
- When article is published โ automatic on publication (recommended)
- When article is scheduled โ assigned earlier in the workflow
- Click Save.
Step 3 โ Enable the CrossRef Export Pluginโ
- Navigate to Settings โ Website โ Plugins โ Installed Plugins.
- Find CrossRef XML Export Plugin (under Import/Export Plugins).
- Toggle to Enabled.
- Click Settings next to the CrossRef plugin.
- Fill in:
| Field | Value |
|---|---|
| Depositor Name | Your name or journal name |
| Depositor Email | Your CrossRef account email |
| CrossRef Login | Your CrossRef username |
| CrossRef Password | Your CrossRef password |
- Click Save.
Step 4 โ Assign DOIs to Existing Articlesโ
For articles published before you enabled DOIs:
- Navigate to Tools โ Import/Export โ CrossRef XML Export Plugin.
- Click the Articles tab.
- You will see all published articles.
- Select the articles that need DOIs assigned.
- Click Assign DOIs to generate DOI suffixes for the selected articles.
Step 5 โ Register DOIs with CrossRefโ
Automatic Registrationโ
OJS 3.5+ can automatically register DOIs with CrossRef when articles are published:
- In the CrossRef plugin settings (Step 3), enable Automatic deposit.
- Ensure the OJS cron job is running (required for automatic deposits):
0 * * * * php /path/to/ojs/lib/pkp/tools/scheduler.php run
Manual Registrationโ
To register DOIs manually:
- Navigate to Tools โ Import/Export โ CrossRef XML Export Plugin.
- Click the Articles tab.
- Select the articles to register.
- Click Deposit.
OJS submits the metadata XML to CrossRef. Successful deposits show a green โ; failures show in red with an error message.
Before going live, use CrossRef's test environment (test.crossref.org). In the CrossRef plugin settings, enable Test Mode to submit to the test server without creating real DOIs.
Step 6 โ Verify DOI Registrationโ
After depositing:
- Log in to your CrossRef account.
- Go to Submission โ Metadata โ Query Submission Status.
- Enter your depositor email and check the status of your submissions.
- Or use CrossRef's metadata search to find your DOIs.
Newly registered DOIs may take a few minutes to an hour to resolve.
Step 7 โ Display DOIs on Article Pagesโ
OJS displays DOIs automatically on article landing pages once assigned. To verify:
- Navigate to a published article on your journal website.
- The DOI should appear in the article metadata panel, e.g.:
https://doi.org/10.12345/jor.v14i2.123
- Click the DOI link to confirm it resolves correctly.
DOI Best Practicesโ
- Assign DOIs before publication โ once a DOI is registered, the article URL must never return a 404.
- Permanent URLs โ ensure article URLs are stable and your journal domain does not change.
- Update metadata โ if an article's metadata changes after registration, re-deposit to CrossRef using the same DOI.
- Issue DOIs โ assigning DOIs to issues helps with COUNTER statistics and issue-level citation tracking.
- ORCID integration โ combine DOI registration with ORCID to link authors to their works.
Troubleshootingโ
| Problem | Solution |
|---|---|
| DOI not generating | Check the DOI prefix is entered correctly (e.g., 10.12345 โ no trailing slash) |
| CrossRef deposit fails | Verify credentials; check that the article has title, author, and publication date metadata |
| DOI resolves to 404 | The article URL has changed โ update the URL in your CrossRef account metadata |
| Duplicate DOI error | Each article must have a unique suffix โ check your suffix pattern for collisions |
| Test deposits not showing | Test deposits go to CrossRef test servers โ they are not visible in your live account |
Next Stepsโ
- Plugins Reference โ all available OJS plugins
- Distribution & Access Settings โ open access, subscription, and metadata settings
- Tutorial: Set Up a New Journal โ complete journal configuration guide