Why Online Source Citations Go Wrong So Often
Online sources are the most commonly used and most commonly miscited category of references in student academic writing. Part of the reason is that many online sources don’t fit neatly into the standard reference templates — they lack obvious authors, have unclear publication dates, or come from formats that didn’t exist when most citation guides were written. Another part is that the rules changed significantly with APA 7th edition, and a lot of the guides available online still reflect the old format.
This guide covers the current APA 7th edition rules for citing online sources — including websites, online articles, reports, government documents, and social media — along with the most common errors and how to fix them. If you’re working on a thesis, dissertation, or journal submission that uses APA, this is the reference you want open while you build your reference list.
The General Structure for Online Sources in APA 7th
Before getting into specific formats, it helps to understand the general logic of APA 7th edition online citations, because once you understand the logic, you can work out the correct format for almost any source even if it doesn’t fit a standard template.
The basic APA reference has four elements: Who (author), When (date), What (title), and Where (source). For online sources, “Where” includes the URL or DOI. The key changes in APA 7th edition that affect online sources are: DOIs are now formatted as hyperlinks (not preceded by “doi:”), retrieval dates are no longer required for most online sources (only for sources that change over time, like wikis), and the location of a publisher is no longer included in references.
This simplification actually makes APA 7th edition cleaner than its predecessor for most online sources — once you know the current rules.
Citing Webpages and Websites
The format for a standard webpage reference in APA 7th edition is:
Author, A. A. (Year, Month Day). Title of webpage. Site Name. URL
For example: World Health Organization. (2023, March 15). Mental health: Strengthening our response. https://www.who.int/news-room/fact-sheets/detail/mental-health-strengthening-our-response
Several elements require specific attention. The author may be an organisation rather than an individual — in that case, write the organisation’s full name in the author position. If the author is the same as the site name, you include the author in the author position and omit it from the site name position (to avoid redundancy). If there is genuinely no identifiable author, begin the reference with the title of the webpage.
The date should be as specific as possible. If only a year is available, use the year. If the page is undated — which is common — use “(n.d.)” in the date position. Do not fabricate a date.
The site name (equivalent to the publisher in a book reference) appears in roman type, not italics. The title of the webpage or article appears in italics. This distinction trips up a lot of students who italicise everything or italicise nothing.
Citing Online Journal Articles
For journal articles accessed online, the format is essentially the same as for print journal articles, with the addition of a DOI wherever one is available. In APA 7th, the DOI should be formatted as a hyperlink: https://doi.org/xxxxx
Author, A. A., & Author, B. B. (Year). Title of article. Journal Name, Volume(Issue), Page range. https://doi.org/xxxxx
If an article has no DOI but was accessed through an online database, you include the URL of the article’s page on that database. If the article was accessed through a database that requires a subscription and the URL would not be accessible to a general reader, it’s acceptable to include just the database name rather than the full URL.
If an article has no DOI and no stable URL (for example, if it was accessed through a general database search), you simply omit the URL entirely. Do not include the URL of the database homepage.
One important APA 7th change: you no longer need to write “Retrieved from” before a URL in most references. The URL alone is sufficient. The exception is for sources that change over time (like Wikipedia), where you do need to include a retrieval date.
Citing Government Documents and Reports
Government documents and institutional reports are widely used in Malaysian academic writing — education statistics from the Ministry of Education, economic data from Bank Negara, health data from the Ministry of Health — and they have their own citation conventions.
For a report with a government agency as author:
Ministry of Education Malaysia. (2023). Malaysia Education Blueprint 2013–2025: Annual Report 2022. https://www.moe.gov.my/
For a report with an individual author published by a government agency:
Author, A. A. (Year). Title of report. Agency Name. URL
Note that government reports often have report numbers. If a report number is available, include it in parentheses after the title: Title of report (Report No. XXX).
A common mistake with government documents is treating them as websites and using the general webpage format. The key distinction is whether you’re citing a specific document (use the report format) or citing information from a general webpage (use the webpage format). A downloadable PDF from a government website is a report, not a webpage.
Citing News Articles Online
Online news articles follow a format similar to webpage references, but the publication name replaces the site name in a slightly different typographic treatment:
Author, A. A. (Year, Month Day). Title of article. Publication Name. URL
For example: Lim, H. K. (2024, January 22). Malaysian universities tighten AI detection policies for postgraduate submissions. The Star. https://www.thestar.com.my/
If the news article has no identifiable author, begin with the title of the article. The publication name is italicised. If the article has been updated since original publication, use the most recent update date in the date field.
Citing Social Media
Social media citations became more explicitly addressed in APA 7th edition, reflecting how commonly academics now reference social media content. The general format is:
Author, A. A. [@username]. (Year, Month Day). First 20 words of post [Type of post]. Platform. URL
For example: Ministry of Higher Education Malaysia [@mohemalaysia]. (2024, March 10). Applications for the National Scholarship Programme are now open. Eligible students are encouraged to [Tweet]. Twitter. https://twitter.com/
The “Type of post” descriptor should identify the format: Tweet, Instagram photograph, Facebook status update, LinkedIn post, and so on. If the post includes images or videos, note this: [Tweet; includes image].
For social media content with no obvious author (such as an organisation’s page), use the organisation’s name as author and its username if available. The APA guidance on social media is still evolving as platforms change, so if you’re citing a format not covered here, apply the general logic: who, when, what (first 20 words in italics), where (platform and URL).
Citing YouTube Videos and Podcasts
For YouTube videos, the person or organisation who uploaded the video is treated as the author:
Author, A. A. [Channel Name]. (Year, Month Day). Title of video [Video]. YouTube. URL
For podcasts, the host is typically the author:
Host, A. A. (Host). (Year, Month Day). Title of episode (No. X) [Audio podcast episode]. In Podcast Name. Production Company. URL
If there is no episode number, omit it. If the podcast is a standalone episode rather than part of a series, omit the “In Podcast Name” element.
Common Errors to Fix in Your Reference List
Having reviewed the correct formats, here are the most frequently occurring errors in student reference lists for online sources — particularly useful as a checklist before submission.
Missing DOI or URL: Every online source needs either a DOI or a URL. A reference without either is incomplete. If you can’t find a stable URL, use the DOI. If there is no DOI and no stable URL, reconsider whether the source is citable at all.
Using the old DOI format: APA 6th used “doi:” before the DOI number. APA 7th uses the full URL format: https://doi.org/xxxxx. If your references still say “doi:10.xxxx”, update them.
Including “Retrieved from” unnecessarily: For most online sources in APA 7th, you do not write “Retrieved from” before the URL. This phrase appears only when you need to include a retrieval date, which applies only to sources that change over time.
Italicising the wrong element: The title of the webpage or article is italicised. The site name or publication name is not italicised (for webpages). For journals, the journal name and volume number are italicised, but the article title is not. This distinction is consistent but frequently confused.
Fabricating or estimating dates: If a source is undated, write “(n.d.)” — not your best guess at when it might have been published. Fabricating or estimating dates is academically dishonest and potentially misleading to readers.
Citing the database instead of the source: The correct URL in most cases is the URL of the article or document itself, not the URL of the database search results page. If the article URL is unstable (as with some database-specific links), use the journal’s homepage URL or the DOI instead.
A Note on Reference Management Tools
Zotero, Mendeley, and similar tools generate APA citations automatically, which saves significant time. But they make errors — particularly for online sources, which require more human judgment than journal articles. The most common tool-generated errors include incorrect date formats, missing site names, wrong URL formats, and inconsistent capitalisation.
The workflow that minimises errors: use Zotero to generate your initial reference list, then go through every online source reference manually and check it against the formats above before you submit. This combination of automation and manual checking is faster than doing everything manually, and more accurate than trusting the tool entirely.
