What is a static website?
A static website is a set of finished pages (HTML, CSS, images, scripts) stored on a server and sent as-is. MDN describes it as one that "returns the same hard-coded content from the server whenever a particular resource is requested" (MDN).
"Static" doesn't mean "never changes" or "no interactivity." The pages are rebuilt and republished when content changes, and they can still have forms, maps, video, booking buttons and animations.
What is a dynamic website?
A dynamic website assembles pages on the server for each request. MDN: "A dynamic site can return different data for a URL based on information provided by the user or stored preferences," and on a dynamic website "HTML pages are normally created by inserting data from a database into placeholders in HTML templates" (MDN).
Most content management systems, including WordPress, work this way by default.
Static vs. dynamic websites, side by side
| Static website | Dynamic website | |
|---|---|---|
| How pages are made | Built ahead of time | Built on each request |
| Database on the live site | Usually none | Usually yes |
| Speed | Fast by default; files can be served from a CDN | Depends on server, caching and plugins |
| Security surface | Small: no live database or admin login on the site | Larger: CMS core, plugins, database, admin login |
| Upkeep | Light | Regular updates and backups |
| Editing content | Developer, or a content tool that republishes | Built-in admin dashboard |
| Personalized content | Limited (can call services for forms, maps, booking) | Yes: logins, carts, member areas |
| Best for | Marketing sites, service businesses, portfolios | Stores, portals, membership sites, big news sites |
Why static sites are usually faster and safer
Speed. There's nothing to assemble per visit, so the server just sends files. Google's JavaScript guidance notes that "server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript" (Google). A pre-built static page is the simplest form of that. See why websites get slow.
Security. Many hacks go through software on the server. web.dev says "attackers actively seek out old software with vulnerabilities" and that "outdated or unpatched themes and plugins are a major source of vulnerabilities" (web.dev). WordPress's own hardening guide warns that once a fix is released, "the information required to exploit the vulnerability is almost certainly in the public domain" (WordPress). A static site with no CMS or plugins on the live server avoids that whole category.
Upkeep. Fewer moving parts means less to update. See what website maintenance includes.
What do you give up with a static site?
- A built-in admin dashboard. Edits go through a developer or a content tool that rebuilds the site. On our sites, that content tool is a simple editor we build in, so you can change text and photos yourself without touching code. For bigger changes, just ask us.
- Per-visitor content. Logins, carts and account pages need a dynamic piece.
- Plugin marketplaces. Features are built or connected deliberately instead of installed in one click.
When does a business need a dynamic website?
- Customers log in to see their own information (see web app vs. website).
- You sell lots of products with inventory that changes constantly.
- Many staff publish content daily and need a full CMS.
- Content is personalized by user.
A common setup is both: a fast static marketing site at the front, and a dynamic portal or app behind a login. That's how we set up portal projects.
How Ugly Mug builds
Our sites are "hand-built, static, and fast. No page builders, no plugins, nothing to break at 2 a.m. It loads quick on a phone in a parking lot" (Ugly Mug). Comparing that with WordPress? Read WordPress vs. a hand-built site. Choosing a host? Static sites need very little: see small business website hosting.
Frequently asked questions
Is a static website good for SEO?
Yes. Google's technical requirements are about whether Google can reach and index a page, not how it was built (Google Search Essentials). Static pages are easy to crawl and tend to load fast.
Can a static website have a contact form?
Yes. Forms, booking widgets, maps and video all work on static sites by connecting to services.
Is WordPress static or dynamic?
Dynamic by default: it builds pages from a database. Caching and static-export setups can change that.
Which is cheaper to run?
Static sites usually need less hosting and less maintenance. Dynamic sites need updates, backups and a server that can run the CMS.
Written by Chris Lamb, Ugly Mug Creative. Last reviewed November 10, 2026.