Back to Blog
ReferencesFebruary 19, 20268 min read

How to Cite a Website in APA 7 (Without Losing Points on Your Reference List)

If you're wondering how to cite a website in APA 7, you're not alone. Website citations are the most common citation type in student papers—and they're also where most errors occur. Between missing authors, missing dates, and confusing rules about when to include the site name, an APA website citation can feel like a guessing game every time.

One student on Reddit put it bluntly: "I gave up several classes ago trying to get APA correct." And according to a study published in the Journal of European Psychology Students, reference list errors appear in 90.9% of papers. That's not a typo—nine out of ten papers have mistakes in the one section where precision matters most.

But here's the thing: an APA 7 website citation follows a predictable structure. Once you understand the basic format and know how to handle the common exceptions—no author, no date, author is the site name—you can cite a website in APA confidently every time. Let's walk through every scenario you'll encounter.

The Basic Format

Every website citation in APA 7 follows this structure:

Author. (Year, Month Day). Title of page. Site Name. URL

Here's what that looks like with all elements present:

Smith, J. (2024, March 15). Understanding climate change. National Geographic. https://www.nationalgeographic.com/environment/article/climate-change

Key details:

  • The page title is italicized (not the site name)
  • The URL is the last element—no period after it
  • Include the most specific date available (full date, month and year, or just year)
  • The site name is in plain text, not italicized

When you have all four elements—author, date, title, and site name—citing a website is straightforward. The confusion starts when pieces are missing.

When There's No Author

This is the most common scenario with website citations, and it trips up more students than any other variation.

Step 1: Check for an organization. Many web pages don't list an individual author, but they're published by an organization. In that case, use the organization as the author:

World Health Organization. (2024). Mental health in the workplace. https://www.who.int/mental-health/workplace

Notice that when the organization is the author, the site name is omitted (more on this below).

Step 2: If there's no organization either, start with the title. Move the page title into the author position, and keep the site name:

How to train for a marathon. (2023, June 10). Runner's World. https://www.runnersworld.com/training/marathon-guide

When the title moves to the author position, it stays italicized. This is different from in-text citations, where a title in the author position uses double quotation marks. In the reference list, italics are correct.

When There's No Date

Some web pages don't display a publication or last-updated date. When you can't find one, use (n.d.)—which stands for "no date":

American Psychological Association. (n.d.). APA style guidelines. https://apastyle.apa.org/style-grammar-guidelines

Before defaulting to (n.d.), try these:

  • Check the page source. Right-click the page, select "View Page Source," and search for datePublished or dateModified. Many pages have dates embedded in their metadata even when none is visible on the page.
  • Check the Wayback Machine. Search for the URL at web.archive.org. The earliest archived version can give you an approximate publication date.
  • Look at the URL. Some URLs contain dates (e.g., /2024/03/article-title).

Only use (n.d.) when you've genuinely exhausted your options. Professors notice when every website citation in a paper uses (n.d.)—it suggests the student didn't look for the dates rather than that they were truly unavailable.

When the Author IS the Site Name

This rule catches many students off guard. When the author and site name are the same entity, omit the site name to avoid redundancy.

Correct:

Centers for Disease Control and Prevention. (2024, January 5). COVID-19 vaccination guidelines. https://www.cdc.gov/coronavirus/vaccines

Incorrect:

Centers for Disease Control and Prevention. (2024, January 5). COVID-19 vaccination guidelines. Centers for Disease Control and Prevention. https://www.cdc.gov/coronavirus/vaccines

This comes up frequently with government agencies, nonprofits, and any organization publishing content on its own website. If you see the same name appearing twice in your citation, remove the site name element.

Common Mistakes to Avoid

These are the errors that show up repeatedly in student reference lists. Each one is easy to fix once you know the rule.

1. Including "Retrieved from" before the URL.

APA 7 eliminated the "Retrieved from" language for most sources. You only include a retrieval date (and "Retrieved" language) when the content is designed to change over time—like a social media profile, a wiki article, or a page that's regularly updated without a fixed version. For standard web pages, just end with the URL. (This is one of several APA 7th edition changes that trip up students who learned the previous edition.)

2. Using the homepage URL instead of the specific page URL.

Link to the exact page you're citing, not the site's homepage. If you referenced information from cdc.gov/coronavirus/vaccines, don't shorten it to cdc.gov. Your reader should be able to click the URL and land directly on the content you used.

3. Forgetting to italicize the page title.

In a website citation, the page title is italicized. This is consistent with how APA treats titles of standalone works (books, reports, web pages). Only titles of works within larger works (like journal article titles) stay in plain text.

4. Including access dates when they're not needed.

Unless the content is explicitly designed to change (see point 1 above), you don't need to include the date you accessed the website. This is another holdover from APA 6 that many students haven't dropped yet.

5. Adding a period after the URL.

The URL is the final element in the citation, and it does not end with a period. A trailing period can interfere with hyperlink functionality and might cause a broken link for your reader.

For more on reference list formatting—including the other element that trips up nearly 9 in 10 papers—see our guide on DOI formatting mistakes.

Quick Reference Checklist

Before you submit, run through this checklist for every website citation in your reference list:

  • Author identified correctly? Individual author, organization, or title-first if neither exists
  • Date is as specific as possible? Full date preferred; (n.d.) only as a last resort
  • Page title is italicized? Not the site name—just the page title
  • Site name included (and not redundant)? Omit it if the author and site name are the same
  • URL goes to the specific page? Not the homepage
  • No "Retrieved from" before the URL? Unless the content is designed to change
  • No period after the URL? The URL is the last element, with no trailing punctuation
  • No access date included? Unless citing content that changes by design
  • Hanging indent applied? First line flush left, subsequent lines indented 0.5 inches
  • Double-spaced? Within and between entries, matching the rest of your paper

If every website citation in your reference list passes this checklist, you've handled the most error-prone citation type correctly.


Let StyleMyPaper Check Your Citations

Website citations have more variations than any other source type, and that means more opportunities for small errors to slip through. StyleMyPaper scans your entire reference list—flagging missing italics, redundant site names, outdated "Retrieved from" language, incorrect date formatting, and more. Upload your paper and see exactly which references need attention before your professor does.

Try StyleMyPaper Free

Ready to format your paper?

Let StyleMyPaper automatically check and fix your APA formatting.

Try Free

Enjoyed this article?

Get more APA tips and formatting guides delivered to your inbox.